This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-19
Channels
- # admin-announcements (1)
- # arachne (3)
- # atlanta-clojurians (5)
- # beginners (6)
- # boot (37)
- # braveandtrue (1)
- # cider (128)
- # clojars (3)
- # clojure (224)
- # clojure-belgium (5)
- # clojure-boston (43)
- # clojure-czech (8)
- # clojure-france (2)
- # clojure-greece (17)
- # clojure-hamburg (4)
- # clojure-russia (285)
- # clojure-seattle (1)
- # clojure-uk (12)
- # clojurescript (209)
- # core-async (2)
- # core-matrix (8)
- # core-typed (1)
- # cursive (2)
- # data-science (2)
- # datascript (1)
- # datomic (18)
- # emacs (12)
- # events (2)
- # hoplon (15)
- # immutant (1)
- # jobs (1)
- # ldnproclodo (23)
- # leiningen (10)
- # mount (8)
- # off-topic (7)
- # om (126)
- # onyx (6)
- # overtone (2)
- # parinfer (5)
- # proton (24)
- # re-frame (16)
- # reagent (14)
- # untangled (105)
- # yada (1)
What’s the canonical way to get “Lein run” functionality? Do I just create a task that requires my namespace and callwhatever function I need?
@martinklepsch: there were a few issues with the checkout
task as it currently implemented
one issue is that the checkout dep is exploded into the fileset by a task, so it's difficult to use a task that's pulled in via a checkout dep
other issues are things like the uber
task don't work the same with checkout deps and tasks that are looking at files in the fileset end up seeing the checkout dep files, which isn't really correct
the new --checkouts
option allows loading the checkout dep early, and it allows proper segregation of checkout dep files
so you can use a task defined in the checkout dep as you would use a task in a normal dependency, etc
Hi all, I've made a simple task that calls to my code form the boot.build but I'm getting ClassNotFoundException
@bones: this should help https://github.com/boot-clj/boot/wiki/Run-time-requires-%28within-task-definitions%29
@bones: do you (require 'boot-server.core)
somewhere above the task?
@bones: also for that task you might consider using with-pass-thru
I managed to get Less4Clj tests running on Windows CI: https://ci.appveyor.com/project/Deraen/less4clj/build/4
With proper test cases this should eventually help with getting stuff to work properly on Windows
that's neat, is appveyor a windows travis? and free?
Free for open source projects, very slow though. The build takes like 10 minutes to start.
ah. sounds like it could be useful at the very least for regression testing
@clem: what do you want to do with these?
@clem: the sift
task can import files from jars into the fileset
I’m working on a task to run pandoc to generate documents. The resources in question are PNG images and templates that I need to run with pandoc. If I can use sift
to add them as input files that might just be what I need.
@clem, I'm really interested in having a pandoc
boot task btw
would work well with perun
Well, technically this is for work, but I’ll bet they’d be open to releasing the source.
@clem: (sift :add-jar {'org.webjars.npm/basscss-forms #"^*"})
@clem: maybe this helps as an example
@martinklepsch: excellent, thanks!
@clem, I'd love to see this, even in a basic version (pandoc is simply great)
Is there a way to concatnate local project dir from boot into (System/getProperty "java.ext.dirs") or -Djava.ext.dirs? I need to include a .jar file containing jni and many .class files. I can already do this with my computer variables, but I would prefer if this was possible per project basis.
Thanks @nberger @alandipert - I guess I need to understand Boot a bit more; I’m not sure where/when I should be able to use my code
@nberger @alandipert - thanks, requiring the namespace before I used it worked. I was thinking Boot had required all my namespaces that are within the :source-paths I provided