Created
February 27, 2013 00:05
-
-
Save justinramel/5043583 to your computer and use it in GitHub Desktop.
kata script which creates a sublime text project ready to go
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
#!/bin/bash | |
mkdir -p ~/source/kata/$1 | |
cd ~/source/kata/$1 | |
project="$1.sublime-project" | |
project_dir=`pwd` | |
rspec --init | |
mkdir lib | |
echo "{\"folders\": [{\"path\": \"$project_dir\"} ]}" > $project | |
subl $project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment