Skip to content

Commit b35139d

Browse files
committed
improving dist script
1 parent 7b1b368 commit b35139d

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

scripts/dist.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414

1515

1616
MAKE_ZIP = False
17+
UPDATE = False
1718

1819
if len(sys.argv) > 1:
19-
MAKE_ZIP = sys.argv[1] == "true" or sys.argv[1] == "True"
20+
MAKE_ZIP = "zip" in sys.argv
21+
UPDATE = "update" in sys.argv
2022

2123

2224
### Environment variables ###
@@ -258,6 +260,11 @@ def makeZip():
258260
#####################################################################################
259261
### Build the different modules ###
260262

263+
if UPDATE:
264+
print("Updating EvoMaster JavaAgent")
265+
copyEvoMasterAgent()
266+
exit(0)
267+
261268
checkJavaVersions()
262269

263270
prepareDistFolder()

0 commit comments

Comments
 (0)