aboutsummaryrefslogtreecommitdiff
path: root/licentia
diff options
context:
space:
mode:
authorEduardo Julian2021-06-18 14:21:41 -0400
committerEduardo Julian2021-06-18 14:21:41 -0400
commita82bd1eabe94763162c2b0707d9c198fbe9835e3 (patch)
tree032473704af6e7db41e1f6dc87ab995788d8ab17 /licentia
parent519c0c0c71cdf7ce3dfc64b9781ab826760b3d94 (diff)
Refactored the machinery to make local macros into its own module.
Diffstat (limited to 'licentia')
-rw-r--r--licentia/commands.md4
-rw-r--r--licentia/project.clj2
-rw-r--r--licentia/source/program/licentia.lux2
3 files changed, 5 insertions, 3 deletions
diff --git a/licentia/commands.md b/licentia/commands.md
index 58ac36376..6671f43be 100644
--- a/licentia/commands.md
+++ b/licentia/commands.md
@@ -5,6 +5,10 @@
cd ~/lux/licentia/ \
&& lein clean \
&& lein lux auto build
+
+cd ~/lux/licentia/ \
+&& lux clean \
+&& time lux build
```
## Test
diff --git a/licentia/project.clj b/licentia/project.clj
index 97756c024..940d85a82 100644
--- a/licentia/project.clj
+++ b/licentia/project.clj
@@ -17,7 +17,7 @@
:plugins [[com.github.luxlang/lein-luxc ~version]]
- :dependencies [[com.github.luxlang/luxc-jvm ~version]
+ :dependencies [[com.github.luxlang/lux-jvm ~version]
[com.github.luxlang/stdlib ~version]]
:pom-addition [:developers [:developer
diff --git a/licentia/source/program/licentia.lux b/licentia/source/program/licentia.lux
index 57ed832e5..f1a1503b4 100644
--- a/licentia/source/program/licentia.lux
+++ b/licentia/source/program/licentia.lux
@@ -67,9 +67,7 @@
document (io\wrap (do {! try.monad}
[raw_json (\ utf8.codec decode blob)
json (|> raw_json
- (:coerce java/lang/String)
java/lang/String::trim
- (:coerce Text)
(\ json.codec decode))]
(|> json
(<json>.run /input.license)