Last active
October 5, 2018 09:12
-
-
Save stevermeister/50daee571e996998974934a33ec2c6c7 to your computer and use it in GitHub Desktop.
Run to setup bazel files for fresh ng-cli project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn global add @bazel/ibazel | |
curl https://raw.githubusercontent.com/alexeagle/canonical-angularcli-app/master/.bazelrc > .bazelrc | |
curl https://raw.githubusercontent.com/alexeagle/canonical-angularcli-app/master/WORKSPACE > WORKSPACE | |
curl https://raw.githubusercontent.com/alexeagle/canonical-angularcli-app/master/BUILD.bazel > BUILD.bazel | |
curl https://raw.githubusercontent.com/alexeagle/canonical-angularcli-app/master/src/BUILD.bazel > ./src/BUILD.bazel | |
curl https://raw.githubusercontent.com/alexeagle/canonical-angularcli-app/master/e2e/protractor.on-prepare.js > ./e2e/protractor.on-prepare.js | |
curl https://raw.githubusercontent.com/alexeagle/canonical-angularcli-app/master/e2e/BUILD.bazel > ./e2e/BUILD.bazel | |
curl https://raw.githubusercontent.com/alexeagle/canonical-angularcli-app/236406851409a88e85b3cdc9e6eaa250061fd7cc/src/main.ts > ./src/main.ts | |
curl https://raw.githubusercontent.com/alexeagle/canonical-angularcli-app/06151761ded53d22a2d03b9e6d67c31f045559af/src/index.html > ./src/index.html | |
curl https://raw.githubusercontent.com/alexeagle/canonical-angularcli-app/ed5638193c4fc0219d7e5b41c539aee2b8aeb724/src/app/app.component.spec.ts > ./src/app/app.component.spec.ts | |
yarn add -D [email protected] @angular/bazel @bazel/[email protected] @bazel/ibazel | |
rm e2e/protractor-conf.js | |
rm src/karma.conf.js | |
rm src/test.ts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can run it by doing
curl https://gist.githubusercontent.com/stevermeister/50daee571e996998974934a33ec2c6c7/raw/fd3e84c45a0033cad7b9e720b80b89d962629f3a/bazel-start.sh | sh