From 2c99b4515447315d76a8dc203a2dbcafc09506ea Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 17 Jul 2021 01:48:49 -0400 Subject: Now properly loading cached modules. --- stdlib/source/program/aedifex/command/test.lux | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'stdlib/source/program/aedifex/command/test.lux') 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 [ ] - [( artifact) - (///runtime.for (get@ 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 [ ] + [( artifact) + (///runtime.for (get@ 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 []) -- cgit v1.2.3