This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-24
Channels
- # admin-announcements (1)
- # aws (3)
- # beginners (52)
- # boot (150)
- # braid-chat (1)
- # braveandtrue (5)
- # bristol-clojurians (2)
- # cider (21)
- # cljs-dev (1)
- # cljsfiddle (1)
- # cljsjs (5)
- # cljsrn (4)
- # clojars (3)
- # clojure (236)
- # clojure-berlin (2)
- # clojure-czech (1)
- # clojure-madison (1)
- # clojure-russia (164)
- # clojure-sdn (1)
- # clojure-sg (2)
- # clojure-uk (64)
- # clojurescript (149)
- # core-async (31)
- # cursive (33)
- # datomic (2)
- # devcards (5)
- # funcool (3)
- # hoplon (142)
- # immutant (27)
- # juxt (7)
- # lein-figwheel (6)
- # liberator (6)
- # off-topic (4)
- # om (46)
- # onyx (26)
- # parinfer (5)
- # perun (56)
- # proton (6)
- # re-frame (19)
- # reagent (1)
- # remote-jobs (12)
- # ring-swagger (17)
- # slack-help (2)
- # spacemacs (11)
- # specter (1)
- # untangled (11)
- # yada (3)
How would I use sift
to move the directory "META-INF/resources/webjars/bootstrap-sass/3.3.6/assets/fonts/" to "fonts/"? I'm trying to output bootstrap fonts but can't seem to get it to work.
I think sift
and boot in general works for files only, so I wrote a rebase task: https://gist.github.com/arichiardi/45debef5d84934835555
but you might need some adjustment
sorry wait I will put it in a gist
https://github.com/boot-clj/boot/issues/144 led me to believe that it would work with directories
I fell in the trap too
good to know thanks!
my use case was indeed a bit different
So I’m side-loading in a js file & then accessing it via js/GlobalName
in my code. I now want to test stuff w/ boot-cljs-test
, so I’m trying to side-load in this js file in node as well.
I just can’t figure out how to get boot to copy the file into the directory where the tests are happening.
@juhoteperi: ^ this is a breaking change right?
Should only add a new option, doesn't change existing options
ah yeah, just saw now, sorry for the noise
morning booters. i'm about to start working on support for appengine modules in boot-gae and i want to make sure something along those lines hasn't been done already. fyi a gae module ends up as an independent war so its not really a subproject or submodule. when you build a webapp using modules each module gets compiled/prepared separately, then they all get combined into an EAR module. So you can compile and upload the whole thing, but you can also compile and upload modules separately. See https://cloud.google.com/appengine/docs/java/modules/#Java_Configuration. Anything like that available? Advice for how to do it?
org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact org.clojure:clojure:jar:1.8.0 in clojars (https://clojars.org/repo/)
hi, anyone got idea on this error message? I was trying to create a jar file, but it keeps throwing this
@jiyinyiyong: the relevant error was earlier in the paste you provided in #C03S1KBA2
cli: option dsl: expected optarg, got edn
clojure.lang.ExceptionInfo:
not sure if this is whats causing the issue but probably not a bad idea to fix this first
Just the html-entry doesn't give enough context
you shouldn't need to set :repositories
at all unless you need to add custom ones, since clojars and central are in the default set
a dumb question, how to set a system property or env variable in a boot task 😄
@richiardiandrea: (System/setProperty ...)
ah right
I want to use it for adzerk-oss/cljs-console
, very nice logging library
thanks Martin you saved me some time
is somebody here using CLJS_LOG_LEVEL
in cljs-console
? shall I set it in build.boot
for a ClojureScript app?
I'd check the adzerk.env docs, not using it myself so can't help
it looks like it needs to be set in the code <- scratch this, it cannot be of course, it is at compile time for shizle 😄
putting some slides together for a meetup talk of the nyc clojure group. Found this in my build.boot file: (bootlaces! +version+ :dont-modify-paths? true) And what does it do again? I've forgotten!
It is not covered in the readme of bootlaces. And there is no wiki. google is failing me. And I can't figure out the code. 😮
there is a function named bootlaces!
that does some initialization of the bootlaces library
the merge-env!
line merges that resource-path into whatever resource paths you already have
ah. but I do want to specify resource-paths to make sure it all goes in my jar file.
so in general, in a library when you want the source included in the jar file, you always set dont-modify-paths?, yes?
yeah the core issue is when you have something like :resource-paths #{"src" "src/foo" "src/bar"}
bootlaces wanted to add "src"
to that, which would have made it be :resource-paths #{"src" "src/foo" "src/bar"}
yeah i mean bootlaces doesn't really do much, it just adds some minor things that we found useful
it also does some things like looking in various places for credentials and stuff that probably isn't really necessary anymore now that we've merged in the changes that add similar functionality to boot itself
I have forked (temporarily) one library (say X) and pushed it to clojars. I use another library (say Y), which uses X. Is there a way to temporarily override X dependency in Y, without publishing changed Y on clojars as well?
although pushing a library containing someone else's namespaces to clojars is kind of setting us up for dependency hell
because some transitive dependency brings that in, and now there is a conflict with the original library
Well, the answer is "don't do that". That's why org.clojars.$username
is documented to be a scratch space.
Well, then either this namespace should be removed completely or tooling should be changed.
Also, https://github.com/clojars/clojars-web/wiki/Tutorial says "If you want to push your own version of somebody else’s jar you’ll have to put it under your group, to show it’s your version and not the official one. To do this, just qualify the project name by putting org.clojars.username/ in front of it in your project.clj."
BTW, is there a better way to temporarily publish fixed libraries? Say, I have a bugfix and it's necessary for several other people to work on something. Author is yet to integrate/release new version.
Ah, I didn't know it can be done this way. How do I refer to an arbitrary URL in :dependencies
?