Last active
August 28, 2017 09:09
-
-
Save torbjornvatn/9923ef733c5e400b16a72aaba9de92fd to your computer and use it in GitHub Desktop.
project.clj for my Trigger Dataflow pipelines with Cloud Functions written in Clojurescript blog post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject pipeline-example "0.1.0-SNAPSHOT" | |
:dependencies [[org.clojure/clojure "1.8.0"] | |
[datasplash "0.4.1"] | |
[org.clojure/clojurescript "1.9.456"]] | |
:plugins [[lein-cljsbuild "1.1.5"] | |
[macchiato/lein-npm "0.6.2"]] ;; Using a fork to get a generated package.json | |
:profiles {:uberjar {:main pipeline-example.core | |
:source-paths ["src-clj"] | |
:target-path "target/pipeline-example" | |
:uberjar-name "pipeline-standalone.jar" | |
:aot :all}} | |
:npm {:dependencies [[circular-json-es6 "2.0.0"] | |
[node-jre "0.2.0"]] | |
:write-package-json true ;; enable package.json generation | |
:root "target/pipeline-example"} | |
:cljsbuild | |
{:builds [{:compiler {:main graphiti-trigger.core | |
:output-to "target/pipeline-example/index.js" | |
:target :nodejs | |
:source-map false | |
:optimizations :simple}}]}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment