Skip to content

Instantly share code, notes, and snippets.

@justinramel
Created February 27, 2013 00:05
Show Gist options
  • Save justinramel/5043583 to your computer and use it in GitHub Desktop.
Save justinramel/5043583 to your computer and use it in GitHub Desktop.
kata script which creates a sublime text project ready to go
#!/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