Permalink
Browse files

building memecaptain binary as part of uberjar #31

  • Loading branch information...
oliyh committed Feb 23, 2018
1 parent 92823f5 commit 0a2d0d956ee0a69e51cf56b1784ba50d08c5d525
Showing with 10 additions and 2 deletions.
  1. +5 −0 compile-memecaptain.sh
  2. +5 −2 project.clj
View
@@ -0,0 +1,5 @@
curl -L http://enclose.io/rubyc/rubyc-linux-x64.gz | gunzip > rubyc
chmod +x rubyc
export CPPFLAGS="-P"
./rubyc --gem=meme_captain --gem-version=0.3.1 bundle ./resources/memecaptain/memecaptain
View
@@ -56,7 +56,9 @@
:asset-path "/cljs/prod"
:optimizations :advanced}}}}
:profiles {:uberjar {:aot :all
:prep-tasks ["javac" "compile" ["with-profile" "dev" "cljsbuild" "once" "prod"]]}
:prep-tasks ["javac" "compile"
["shell" "./compile-memecaptain.sh"]
["with-profile" "dev" "cljsbuild" "once" "prod"]]}
:dev {:source-paths ["dev"]
:dependencies [[org.clojure/tools.namespace "0.2.11"]
[clj-http-fake "1.0.3"]
@@ -76,5 +78,6 @@
:repl-options {:init-ns user
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:plugins [[lein-cljsbuild "1.1.2"]
[lein-figwheel "0.5.0-2"]]}}
[lein-figwheel "0.5.0-2"]
[lein-shell "0.5.0"]]}}
:uberjar-name "slacky-standalone.jar")

0 comments on commit 0a2d0d9

Please sign in to comment.