I'm an app. Or maybe I'm a library? I haven't decided yet.
The choice is up to you!
FIXME
Copyright © 2012 FIXME
Distributed under the Eclipse Public License, the same as Clojure.
| /target | |
| /lib | |
| /classes | |
| /checkouts | |
| pom.xml | |
| *.jar | |
| *.class | |
| .lein-deps-sum | |
| .lein-failures | |
| .lein-plugins |
| (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}}]}) |