Skip to content

Instantly share code, notes, and snippets.

@RichardLitt
Created April 30, 2015 14:58
Show Gist options
  • Select an option

  • Save RichardLitt/d668e99f9566dcf386fb to your computer and use it in GitHub Desktop.

Select an option

Save RichardLitt/d668e99f9566dcf386fb to your computer and use it in GitHub Desktop.
Shell script for local node modules
cd ..
printf 'cd to' && pwd
echo 'Cloning BeagleLab/beagle-style'
git clone git@github.com:BeagleLab/beagle-style.git
cd beagle-style
echo 'Installing modules...'
npm install
cd ..
echo 'Cloning BeagleLab/beagle-pdf'
git clone git@github.com:BeagleLab/beagle-pdf.git
cd beagle-pdf
echo 'Installing modules...'
npm install
echo 'Set up symlinks...'
cd ../beagle/node_modules
printf 'cd to' && pwd
ln -s ../../beagle-style
ln -s ../../beagle-pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment