- 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:
philippe lhardy
2015-02-16 23:07:20 +01:00
parent e0b2027f70
commit 2a8f80154f
7 changed files with 198 additions and 10 deletions

18
doit.sh
View File

@@ -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