Created
May 22, 2013 09:26
-
-
Save Darep/5626334 to your computer and use it in GitHub Desktop.
Use this simple script to easily create a new, clean Ember.JS project. I use this to create small, simple experiments. It's a bit like "rails new" :) Usage: ember new project-name
This file contains hidden or 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
#!/bin/bash | |
# | |
# ember - Ember.JS starter kit script | |
# Download this and place it into e.g. /usr/local/bin | |
# | |
# Original: https://github.com/Darep/dotfiles/blob/master/bin/ember | |
# | |
[ -z "$1" ] && echo "No argument supplied" && exit | |
if [ $1 = "new" ]; then | |
[ -z "$2" ] && echo "No name supplied" && exit | |
NAME=$2 | |
curl -o ember-starter-kit.zip https://codeload.github.com/emberjs/starter-kit/zip/v1.0.0-rc.3 | |
unzip ember-starter-kit.zip | |
mv starter-kit-1.0.0-rc.3 $NAME | |
rm ember-starter-kit.zip | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How I use this:
And start experimenting!