Skip to content

Instantly share code, notes, and snippets.

@rads
Created April 1, 2012 22:40
Show Gist options
  • Save rads/2279193 to your computer and use it in GitHub Desktop.
Save rads/2279193 to your computer and use it in GitHub Desktop.
lein-cljsbuild 0.1.5 bug
/target
/lib
/classes
/checkouts
pom.xml
*.jar
*.class
.lein-deps-sum
.lein-failures
.lein-plugins

cljsbuild-sample

I'm an app. Or maybe I'm a library? I haven't decided yet.

The choice is up to you!

Usage

FIXME

License

Copyright © 2012 FIXME

Distributed under the Eclipse Public License, the same as Clojure.

(ns cljsbuild-sample.core)
(defn -main
"I don't do a whole lot."
[& args]
(println "Hello, World!"))
(ns cljsbuild-sample.core)
(defn hello []
"hello world")
(defn -main
"I don't do a whole lot."
[& args]
(println "Hello, World!"))
(ns cljsbuild-sample.core-test
(:use clojure.test
cljsbuild-sample.core))
(deftest a-test
(testing "FIXME, I fail."
(is (= 0 1))))
(defproject cljsbuild-sample "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.3.0"]]
:plugins [[lein-cljsbuild "0.1.5"]]
:cljsbuild {
:builds [{:source-path "src"
:compiler {:output-to "main.js"
:target :nodejs
:optimizations :simple
:pretty-print true}}]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment