Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 22 lines (16 sloc) 0.455 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/bin/sh

#set -x

if [ -z "$1" ]; then
echo
echo Usage: ./create.sh hello-world \"Hello World\"
echo
echo The first hello-world is your hook id. A new directory will be created based on
echo the hook id.
echo
echo The second \"Hello World\" is the hook\'s display name. The quotation marks are
echo only needed because there is a space in the display name.

exit 127
fi

ant -Dhook.name=$1 -Dhook.display.name=\"$2\" create

#ant deploy

exit 0
Something went wrong with that request. Please try again.