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/export.lux | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'stdlib/source/program/compositor/export.lux') diff --git a/stdlib/source/program/compositor/export.lux b/stdlib/source/program/compositor/export.lux index 6e364800f..f6a78ed78 100644 --- a/stdlib/source/program/compositor/export.lux +++ b/stdlib/source/program/compositor/export.lux @@ -9,7 +9,7 @@ [security ["!" capability]]] [data - [text + ["." text ["%" format (#+ format)]] [collection ["." dictionary] @@ -48,7 +48,9 @@ (monad.map try.monad (function (_ [path source-code]) (do try.monad - [path (tar.path path) + [path (|> path + (text.replace-all (:: system separator) .module-separator) + tar.path) source-code (tar.content source-code)] (wrap (#tar.Normal [path (instant.from-millis +0) -- cgit v1.2.3