Skip to content

Instantly share code, notes, and snippets.

@zerkalica
Created November 29, 2012 22:34
Show Gist options
  • Save zerkalica/4172366 to your computer and use it in GitHub Desktop.
Save zerkalica/4172366 to your computer and use it in GitHub Desktop.
geppetto jam package builder
#!/bin/sh
sdir=$(pwd)
[ -e $sdir/$(basename $0) ] || sdir=$(dirname $0)
[ -d $sdir/lib ] || mkdir -p $sdir/lib
wget "https://raw.github.com/ModelN/backbone.geppetto/master/backbone.geppetto.js" -O $sdir/lib/backbone.geppetto.js
wget "https://raw.github.com/ModelN/backbone.geppetto/master/README.md" -O $sdir/readme.md
sed 's/"marionette"/"Backbone.Marionette"/' -i $sdir/lib/backbone.geppetto.js
jam publish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment