Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

24 righe
498 B

2 anni fa
#!/bin/sh
#set -x
if [ $# -lt 2 ]; then
echo
echo Usage: ./create.sh hello-world \"Hello World\"
echo
echo The first hello-world is your layouttpl id. A new directory will be created
echo based on the layouttpl id.
echo
echo The second \"Hello World\" is the layouttpl\'s display name. The quotation marks
echo are only needed because there is a space in the display name.
exit 127
fi
ant -Dlayouttpl.name=$1 -Dlayouttpl.display.name=\"$2\" create
cd $1-layouttpl
#ant deploy
exit 0