Skip to content

My random Clojure codes from various sources from the inter-web!

License

Notifications You must be signed in to change notification settings

agilecreativity/clojure-walkthrough

Repository files navigation

clojure-walkthrough

Clojure examples from various sources around the web.

Tips

Make sure your project.clj have something like the following:

(defproject megacorp/superservice "1.0.0-SNAPSHOT"
  :description "A Clojure project with a little bit of Java sprinkled here and there"
  :min-lein-version  "2.0.0"
  :source-paths      ["src/clojure"]
  :java-source-paths ["src/java"])

Current value for project.clj

(defproject clojure-walkthrough "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.7.0"]
                 [org.clojure/data.json "0.2.6"]]
  :target-path "target/%s"
  :profiles {:uberjar {:aot :all}}
  :source-paths ["src/clojure" "test/clojure"]
  :java-source-paths ["src/java" "test/java"]
  :aot [com.gentest.genclojure]
  :main com.gentest.ConcreteClojureClass
  ;; Note: original value generated by lein new command
  ;:main ^:skip-aot clojure-walkthrough.core
  )
# To compile Java file
lein javac

# To remove compilation artifacts
lein clean

Useful Links

(System/getProperty "file.endcoding") ;"UTF-8"
(clojure-version) ;; 1.7.0
(System/getProperty "user.dir")

License

Copyright © 2016 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

My random Clojure codes from various sources from the inter-web!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published