From 6eaa3b57f3f1ea2ce13b942bdb4ef502fc1729bc Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 29 May 2020 00:19:24 -0400 Subject: Can now import previously exported libraries. --- stdlib/source/program/compositor/cli.lux | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'stdlib/source/program/compositor/cli.lux') diff --git a/stdlib/source/program/compositor/cli.lux b/stdlib/source/program/compositor/cli.lux index 940665680..e0bcd6e00 100644 --- a/stdlib/source/program/compositor/cli.lux +++ b/stdlib/source/program/compositor/cli.lux @@ -12,10 +12,11 @@ [file (#+ Path)]]]) (type: #export Source Path) +(type: #export Library Path) (type: #export Target Path) (type: #export Compilation - [(List Source) Target Module]) + [(List Source) (List Library) Target Module]) (type: #export Export [(List Source) Target]) @@ -31,6 +32,7 @@ (cli.named cli.any))] [source "--source" Source] + [library "--library" Library] [target "--target" Target] [module "--module" Module] ) @@ -41,11 +43,13 @@ (<>.after (cli.this "build") ($_ <>.and (<>.some ..source) + (<>.some ..library) ..target ..module)) (<>.after (cli.this "repl") ($_ <>.and (<>.some ..source) + (<>.some ..library) ..target ..module)) (<>.after (cli.this "export") -- cgit v1.2.3