1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-06 16:48:01 +00:00

Add Evaluate One Liners With lein-exec as a clojure til.

This commit is contained in:
jbranchaud
2015-08-05 18:19:54 -07:00
parent 647205e995
commit 9348f42f83
2 changed files with 11 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
### clojure
- [Evaluate One Liners With lein-exec](evaluate-one-liners-with-lein-exec.md)
- [Expanding Macros](clojure/expanding-macros.md)
- [Quick Clojure Docs](clojure/quick-clojure-docs.md)
- [Specify the Directory of a Shell Command](clojure/specify-the-directory-of-a-shell-command.md)

View File

@@ -0,0 +1,10 @@
# Evaluate One Liners With lein-exec
You can install the [`lein-exec`](https://github.com/kumarshantanu/lein-exec)
plugin and then use it to evaluate one liner bits of code with the `-e`
flag.
```bash
$ lein exec -e '(println "foo" (+ 20 30))'
foo 50
```