This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
forked from rust-lang/rfcbot-rs
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request rust-lang#83 from DiscoStarslayer/vagrant-fixes
Vagrant Bootstrap Fixes Former-commit-id: 1fc6409
- Loading branch information
Showing
5 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# global deps | ||
npm install -g ember-cli | ||
npm install -g bower | ||
|
||
# keep node modules in VM file system to speedup npm install and fix it on Windows/Linux machines | ||
mkdir -p /home/vagrant/local_front/node_modules | ||
rm -f /vagrant/front/node_modules || true | ||
ln -s /home/vagrant/local_front/node_modules /vagrant/front/ | ||
chown -R vagrant:vagrant /home/vagrant/local_front | ||
chown -R vagrant:vagrant /vagrant/front/node_modules | ||
|
||
# install local deps | ||
su vagrant <<'EOF' | ||
cd /vagrant/front | ||
npm install | ||
bower install | ||
EOF |
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
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