Last active
October 9, 2017 18:20
-
-
Save naddeoa/d3fb955b638e3db321fd6d582a67648a to your computer and use it in GitHub Desktop.
Simple hello world for using Lumo to run Clojurescript scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env lumo | |
(ns hello.core | |
(:require [cljs.nodejs :as node] | |
[clojure.pprint :refer [pprint]] | |
[cljs.core :refer [*command-line-args*]])) | |
(pprint (str "Command line args: " *command-line-args*)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install lumo first with