This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-01
Channels
- # admin-announcements (2)
- # aleph (1)
- # aws-lambda (14)
- # beginners (6)
- # boot (34)
- # carry (71)
- # cider (8)
- # cljs-dev (3)
- # cljsjs (3)
- # clojure (40)
- # clojure-belgium (1)
- # clojure-greece (182)
- # clojure-mexico (1)
- # clojure-poland (8)
- # clojure-quebec (1)
- # clojure-russia (72)
- # clojure-spec (30)
- # clojure-uk (120)
- # clojurescript (62)
- # cursive (3)
- # datomic (17)
- # euroclojure (5)
- # hoplon (26)
- # keechma (6)
- # mount (3)
- # off-topic (2)
- # om (5)
- # onyx (4)
- # other-languages (3)
- # parinfer (2)
- # pedestal (2)
- # planck (30)
- # re-frame (81)
- # reagent (31)
- # spacemacs (7)
- # spirituality-ethics (21)
- # testing (10)
- # untangled (80)
(exec :process "bower" :arguments ["install" "--allow-root"] :directory tmp-path :local "node_modules/bower/binβ)
ok I give up, I will try Deraen's test task
actually not setting MaxMetaspaceSize
works as well π
thanks @alandipert
@flyboarder: don't forget to add it to the wiki π (if you haven't already)
@jiyinyiyong: I just made a boot-exec yesterday
Not sure if that is what you are looking for
added a make-executable-jar
task to this cli tool i've been working on, might interest people - https://github.com/alandipert/e2j
also demos using proguard, which is a neat thing
when using boot/cp
what should the dest-tmpfile be? Im trying to copy from the fileset to a tmp dir
@flyboarder: you probably don't want to use cp
for that
(deftask copy
[]
(with-pass-thru [fs]
(let [outdir (io/file "out")
files (->> fs
(output-files)
(by-ext [".clj"])
(map (juxt tmp-path tmp-file)))]
(doseq [[path file] files]
(io/copy file (io/file outdir path))))))
@micha im getting a no such file or directory error
hmmm maybe it doesnt exist XD
i think im doing something wrong with tmp-file
@micha that did the trick! thanks π
Note to self: make sure destination exists before copying
@alandipert: there's also this guy: https://github.com/adzerk-oss/boot-jar2bin
@dave: oh jeez i need to just use that
aha yours has comments and everything
yeah totally, almost down to the expression
π π΅ π€ π€