Please make sure to have the below prerequisites installed for building this repository
- Go 1.18
- node/npm 14+
Once you have the prerequisites installed, you can build the repository with below instructions:
- Clone this repository
- Configure the AWS CLI
- Run
go run main.go --output ../../artifacts/types --clean
in thesrc/aws-type-downloader
folder - Run
npm run --prefix ./src/aws-type-generator start -- --input ../../artifacts/types --output ../../artifacts/bicep
in the root folder
Note: npm run --prefix
does not preserve the current working directory, so the extra ../..
is needed.