- allows to create a debian package ( yet unsigned )
- create a jar, gnerate a ant build.xml - version of jar Signed-off-by: philippe lhardy <philippe@pavilionartlogiciel>
This commit is contained in:
18
doit.sh
18
doit.sh
@@ -51,13 +51,22 @@ action=initial
|
||||
|
||||
while [[ $action != quit ]]
|
||||
do
|
||||
action=$($DIALOG --menu "Ultra Light IDE" 20 80 8 run "Run it" test "Test it" readme "Read me" code "Code" codebg "Code in background" quit "Quit" 3>&1 1>&2 2>&3)
|
||||
action=$($DIALOG --menu "Ultra Light IDE" 20 80 8 run "Run it" clean "Clean All" ant "Ant build" test "Test it" readme "Read me" code "Code" codebg "Code in background" deb "Debian package" quit "Quit" 3>&1 1>&2 2>&3)
|
||||
|
||||
if [[ $action == run ]]
|
||||
then
|
||||
echo "run it"
|
||||
pushd java
|
||||
make display
|
||||
java -jar $(make getname)
|
||||
elif [[ $action == ant ]]
|
||||
then
|
||||
make clean
|
||||
make
|
||||
ant compile
|
||||
elif [[ $action == clean ]]
|
||||
then
|
||||
make clean
|
||||
pushd java
|
||||
make clean
|
||||
popd
|
||||
elif [[ $action == test ]]
|
||||
then
|
||||
@@ -65,6 +74,9 @@ do
|
||||
pushd java
|
||||
make display
|
||||
popd
|
||||
elif [[ $action == deb ]]
|
||||
then
|
||||
make deb
|
||||
elif [[ $action =~ code ]]
|
||||
then
|
||||
do_code $action
|
||||
|
||||
Reference in New Issue
Block a user