Conversation
docker-compose.build.yml
Outdated
| - ./dist:/dist | ||
| - ./jacoco:/jacoco | ||
| command: > | ||
| sh -c "cp /root/.m2/repository/org/evomaster/evomaster-client-java-instrumentation/5.0.3-SNAPSHOT/evomaster-client-java-instrumentation-5.0.3-SNAPSHOT.jar /dist/evomaster-agent.jar && |
There was a problem hiding this comment.
you will need to update scripts/version.py to handle this hardcoded 5.0.3-SNAPSHOT
| @@ -0,0 +1,399 @@ | |||
| #!/bin/bash | |||
There was a problem hiding this comment.
there is an extra feature we need here.
by default, nothing about EvoMaster should be built or required (only the JAR of the SUTs are built, with no agent and no EM drivers).
we can have an input option to build those as well (off by default)
| echo "Tip: Use './scripts/dist-docker.sh <JDK> <TOOL>' for incremental builds" | ||
| echo " Example: ./scripts/dist-docker.sh 8 gradle" | ||
| exit 0 | ||
| fi |
There was a problem hiding this comment.
also, we should remove this. should be no interactive when running the script. should alwasy override if dist already exist. this also makes things easier to run in other scripts (eg on CI)
| @@ -0,0 +1,399 @@ | |||
| #!/bin/bash | |||
There was a problem hiding this comment.
I guess this file can be now removed?
|
|
||
|
|
||
| def fmt_elapsed(seconds): | ||
| m, s = divmod(int(seconds), 60) |
| os.chdir(PROJ_DIR) | ||
| run(compose + ["-f", COMPOSE_FILE, "run", "--rm", "-T", "copy-additional-files"]) | ||
| print("Files copied successfully!") | ||
| for f in ["evomaster-agent.jar", "jacocoagent.jar", "jacococli.jar"]: |
There was a problem hiding this comment.
actually, JaCoCo should always be copied over, as it is used in the BB experiments. it is the files that are strictly for EM (ie agent and drivers) that should not be copied by default
No description provided.