diff options
author | Eduardo Julian | 2021-07-24 02:14:12 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-07-24 02:14:12 -0400 |
commit | 0f545b7e57d2564e351d907befd2ce26900c5521 (patch) | |
tree | 84faaf7b6cd43c2c2f56c5e37bcd61d2b0b1d829 /stdlib/source/program/aedifex/command/test.lux | |
parent | 4248cc22881a7eaa8f74bc426f2b0ba284b23153 (diff) |
Now packaging JVM programs as "fat" jars in new JVM compiler.
Diffstat (limited to 'stdlib/source/program/aedifex/command/test.lux')
-rw-r--r-- | stdlib/source/program/aedifex/command/test.lux | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/stdlib/source/program/aedifex/command/test.lux b/stdlib/source/program/aedifex/command/test.lux index 65f2bdc4e..1f32b2fc2 100644 --- a/stdlib/source/program/aedifex/command/test.lux +++ b/stdlib/source/program/aedifex/command/test.lux @@ -34,15 +34,23 @@ [environment (program.environment promise.monad program) #let [working_directory (\ program directory)]] (do {! ///action.monad} - [[build_exit compiler program] (//build.do! console program fs shell resolution + [#let [home (\ program home)] + [build_exit compiler program] (//build.do! console program fs shell resolution (set@ #///.program (get@ #///.test profile) profile))] (if (i.= shell.normal build_exit) (do ! [_ (console.write_line ..start console) - #let [[test_command test_parameters] (case compiler + #let [host_dependencies (//build.host_dependencies fs home resolution) + [test_command test_parameters] (case compiler + (#//build.JVM dependency) + (|> program + (///runtime.for (get@ #///.java profile)) + (//build.with_jvm_class_path host_dependencies)) + (^template [<tag> <runtime>] [(<tag> artifact) - (///runtime.for (get@ <runtime> profile) program)]) + (///runtime.for (get@ <runtime> profile) + program)]) ([#//build.JVM #///.java] [#//build.JS #///.js] [#//build.Python #///.python] |