diff options
author | Martin <marcin.j.chrzanowski@gmail.com> | 2019-11-17 13:11:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-17 13:11:52 +0100 |
commit | 582448484ee914a55c46e6360c96ffc59d85ed94 (patch) | |
tree | 6811c456b2d50f20577649710e852a3c0150f195 /build.gradle | |
parent | 42eef2f0804100728451afcc085f0940cbbc44c4 (diff) |
Interpreter cli (#14)
* Add test hierarchy
* Pass ZMI into interpreter
* Add runInterpreter task
* Ensure ZMI is modified after query execution
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle index a3e64e4..498d29b 100644 --- a/build.gradle +++ b/build.gradle @@ -44,10 +44,6 @@ application { mainClassName = 'pl.edu.mimuw.cloudatlas.interpreter.Main' } -run { - standardInput = System.in -} - task runAgent(type: JavaExec) { classpath = sourceSets.main.runtimeClasspath main = 'pl.edu.mimuw.cloudatlas.agent.Agent' @@ -62,3 +58,9 @@ task runFetcher(type: JavaExec) { classpath = sourceSets.main.runtimeClasspath main = 'pl.edu.mimuw.cloudatlas.fetcher.Fetcher' } + +task runInterpreter(type: JavaExec) { + classpath = sourceSets.main.runtimeClasspath + main = 'pl.edu.mimuw.cloudatlas.interpreter.Main' + standardInput = System.in +} |