Skip to content

Instantly share code, notes, and snippets.

@naddeoa
Last active October 9, 2017 18:20
Show Gist options
  • Save naddeoa/d3fb955b638e3db321fd6d582a67648a to your computer and use it in GitHub Desktop.
Save naddeoa/d3fb955b638e3db321fd6d582a67648a to your computer and use it in GitHub Desktop.
Simple hello world for using Lumo to run Clojurescript scripts
#!/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*))
@naddeoa
Copy link
Author

naddeoa commented Oct 9, 2017

Install lumo first with

npm install -g lumo-cljs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment