Skip to content

Commit

Permalink
Fix examples/angular to use bazel version from root package.json (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored and alexeagle committed May 22, 2019
1 parent 65dea20 commit ed45ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup_examples_angular.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ printf "\n\nSetting up /examples/angular\n"

# TEMPORARY for managed_directories
echo_and_run sedi "s#name \= \"angular_bazel_example\"#name = \"angular_bazel_example\", managed_directories = {\"@npm\": [\"node_modules\"]}#" WORKSPACE
echo_and_run sedi "s#\"\@bazel\/bazel\"\: \"0\.25\.1\"#\"@bazel/bazel\": \"0.26.0-rc7\"#" package.json
echo_and_run sedi "s#\"\@bazel\/bazel\"\: \"0\.25\.1\"#\"@bazel/bazel\": \"file:../../node_modules/@bazel/bazel\"#" package.json
echo "" >> .bazelrc
echo "##################################################" >> .bazelrc
echo "# Turn on managed_directories" >> .bazelrc
Expand Down

0 comments on commit ed45ed1

Please sign in to comment.