Skip to content

Commit

Permalink
Adicionado scripts bash para rodar a aplicação
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-V committed Oct 28, 2022
1 parent 7eed8be commit 92d4e26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions run-app.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

javac -cp bin/:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar -d bin/ src/divcon/*.java &&
javac -cp bin/:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar -d bin/ src/test/*.java &&
java -cp bin/ divcon.DivConGUI
5 changes: 5 additions & 0 deletions run-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

javac -cp bin/:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar -d bin/ src/divcon/*.java &&
javac -cp bin/:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar -d bin/ src/test/*.java &&
java -cp lib/junit-4.13.2.jar:lib/hamcrest-core-1.3.jar:bin/ org.junit.runner.JUnitCore test.ParticipanteTest test.PagamentoTest test.ContaColetivaTest

0 comments on commit 92d4e26

Please sign in to comment.