Skip to content

Instantly share code, notes, and snippets.

@ricardojmendez
Created November 10, 2015 15:36
Show Gist options
  • Save ricardojmendez/7c196c2813785b05da89 to your computer and use it in GitHub Desktop.
Save ricardojmendez/7c196c2813785b05da89 to your computer and use it in GitHub Desktop.
Khroma project.clj with a different profile for the examples
(defproject
khroma "0.3.0-SNAPSHOT"
:description "ClojureScript interface to Google Chrome Extension API"
:url "https://github.com/suprematic/khroma"
:license {:name "EPL" :url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths ["src/main"]
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.145"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]]
:profiles {:examples
{:dependencies [[devcards "0.2.0-5"]]
:plugins [[lein-cljsbuild "1.1.0"]]
:cljsbuild {:builds
{:main
{:source-paths ["src/main" "src/examples"]
:compiler {:output-to "extension/khroma_tests.js"
:output-dir "target/js"
:optimizations :whitespace
:main "khroma-tests.main-tests"
:devcards true
:pretty-print true}}}}}}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment