diff options
Diffstat (limited to 'stdlib/source/program/aedifex/command')
-rw-r--r-- | stdlib/source/program/aedifex/command/test.lux | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/stdlib/source/program/aedifex/command/test.lux b/stdlib/source/program/aedifex/command/test.lux index 15f8d6f22..65f2bdc4e 100644 --- a/stdlib/source/program/aedifex/command/test.lux +++ b/stdlib/source/program/aedifex/command/test.lux @@ -6,9 +6,6 @@ [control [concurrency ["." promise (#+ Promise) ("#\." monad)]]] - [data - [text - ["%" format (#+ format)]]] [math [number ["i" int]]] @@ -42,19 +39,19 @@ (if (i.= shell.normal build_exit) (do ! [_ (console.write_line ..start console) - #let [[compiler_command compiler_parameters] (case compiler - (^template [<tag> <runtime>] - [(<tag> artifact) - (///runtime.for (get@ <runtime> profile) program)]) - ([#//build.JVM #///.java] - [#//build.JS #///.js] - [#//build.Python #///.python] - [#//build.Lua #///.lua] - [#//build.Ruby #///.ruby]))] + #let [[test_command test_parameters] (case compiler + (^template [<tag> <runtime>] + [(<tag> artifact) + (///runtime.for (get@ <runtime> profile) program)]) + ([#//build.JVM #///.java] + [#//build.JS #///.js] + [#//build.Python #///.python] + [#//build.Lua #///.lua] + [#//build.Ruby #///.ruby]))] process (\ shell execute [environment working_directory - compiler_command - compiler_parameters]) + test_command + test_parameters]) _ (//build.log_output! console process) _ (//build.log_error! console process) exit (\ process await []) |