From 582448484ee914a55c46e6360c96ffc59d85ed94 Mon Sep 17 00:00:00 2001 From: Martin Date: Sun, 17 Nov 2019 13:11:52 +0100 Subject: Interpreter cli (#14) * Add test hierarchy * Pass ZMI into interpreter * Add runInterpreter task * Ensure ZMI is modified after query execution --- build.gradle | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'build.gradle') 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 +} -- cgit v1.2.3