aboutsummaryrefslogtreecommitdiff
path: root/lux-lein
diff options
context:
space:
mode:
authorEduardo Julian2017-01-08 12:18:33 -0400
committerEduardo Julian2017-01-08 12:18:33 -0400
commit4c4237cdda70389826c43920fa90d95b2c9d7a8e (patch)
tree81e414bc9e1d4b0ed9014cb26f36323e0881ef0e /lux-lein
parente039af0c4ffdcaa8ad3a9b640eda8936b68857dd (diff)
- Updated the READMEs.
Diffstat (limited to 'lux-lein')
-rw-r--r--lux-lein/README.md28
1 files changed, 16 insertions, 12 deletions
diff --git a/lux-lein/README.md b/lux-lein/README.md
index 6d024a58f..018195dcb 100644
--- a/lux-lein/README.md
+++ b/lux-lein/README.md
@@ -5,23 +5,27 @@ You'll need a project.clj that imports the lein-luxc plugin.
Here's an example:
```
-(defproject com.github.luxlang/lux-stdlib "0.4.0"
- :description "Standard library for the Lux programming language."
- :url "https://github.com/LuxLang/stdlib"
- :license {:name "Mozilla Public License (Version 2.0)"
- :url "https://www.mozilla.org/en-US/MPL/2.0/"}
- :plugins [[com.github.luxlang/lein-luxc "0.3.0"]]
+(defproject lux/tutorial1 "0.1.0-SNAPSHOT"
+ :plugins [[com.github.luxlang/lein-luxc "0.5.0"]]
+ :dependencies [[io.vertx/vertx-web "3.0.0"]]
:source-paths ["source"]
+ :test-paths ["test"]
+ :lux {:program "tutorial1
+ tests "tests"}
)
-
```
Now, all you need to do is run the plugin like this:
- lein luxc compile
-
-And, if you want to run unit-tests, you can do:
+ lein lux build
+
+There is also the _auto-build_ feature, which will re-build your project every time a file changes.
+
+ lein lux auto build
+
+And, if you want to run your tests, you can do:
- lein luxc test
+ lein lux test
+ lein lux auto test
-Those unit tests must be in the `test` directory on your project root.
+Those tests must be in the `test` directory on your project root.