This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-07
Channels
- # admin-announcements (69)
- # alda (8)
- # beginners (6)
- # boot (182)
- # cider (10)
- # cljs-dev (24)
- # cljsrn (17)
- # clojars (70)
- # clojure (142)
- # clojure-brasil (5)
- # clojure-czech (1)
- # clojure-poland (4)
- # clojure-russia (96)
- # clojurescript (115)
- # community-development (37)
- # component (6)
- # cursive (11)
- # datomic (32)
- # events (4)
- # funcool (6)
- # hoplon (17)
- # ldnclj (10)
- # lein-figwheel (24)
- # mount (12)
- # om (141)
- # onyx (7)
- # parinfer (48)
- # re-frame (24)
- # reagent (31)
@juhoteperi let me know if you need any help with that
I was following along with the docker/boot blog post on the adzerk website (http://adzerk.com/blog/2015/03/using-docker-to-run-boot-from-anywhere/) and I tried to run the docker command in the post
docker run -i adzerk/boot-clj boot repl
but I got a No such task (boot)
error. Changing the command to docker run -i adzerk/boot-clj repl
fixes it.Looks like the docker image now has /usr/bin/boot
as an entry point, so you should update the command in the blog post.
@adamfrey: fixed! thanks. altho it looks like the latest boot on docker is 2.4.2, maybe @dave can be convinced to update
@alandipert: on it!
i have to delete and reset that tag each version so that there is a stable download url
it's an automated build based on https://github.com/adzerk-oss/boot-clj-docker-image
i am addicted to the parrot emoji
such a sassy lil guy
thanks. love the composability of boot tasks. took a few hours to get productive but it mostly just works
cool. i probably won’t jump on this right away since i’m doing my css in my js project with webpack but i’d like to contribute back and this looks simple enough so i’ll see if i can get it in
does boot support ssl certificates for repositories?
ala https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L146
@yaniv: boot-autoprefixer uses the postcss npm package, maybe that will help as a baseline https://github.com/danielsz/boot-autoprefixer
@juhoteperi: just so you know, when I got back to work correcting my sass task, both jsass and the sass gem were unable to compile my scss file, but sassc was able to, so I ended up using boot-sassc
and sift
to move it to the appropriate directory
@jethroksy: Also good chance it is caused by custom imports code in sass4clj
Hello, is there something like lein ancient for boot?
boot show -u
@micha: hey hey!
@danielgrosse: boot -d boot-deps ancient
? https://github.com/martinklepsch/boot-deps
@nha: @danielgrosse that works too but really all that's needed comes with boot already
Ah thank you both.
Is there a way to blacklist directories?
@danielgrosse: can you give an example what you mean?
boot show -u
downloads both Clojure 1.8.0-RC4 and clojure-1.6.0 though (no big deal mind you)
I have the resource path, but there are folders in it, which aren't needed for the project, but for the website. I got (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
until I moved them put of the folder.
@danielgrosse: do you have a lot of directories in that folder?
filesystem watching mechanisms sometimes break when there are huge amounts of dirs
they don't mean anything i don't think, because boot already doesn't use the fsevents to know which files changed
so i think the watching isn't broken, but that message is from somewhere deep in the barbary code somewhere
@micha not sure if you remember, I had a bug upgrading from 2.4.2 to 2.5.2 when running boot test
. Using 2.5.5 and specifying the BOOT_EMIT_TARGET=no fixed the problem, so I did not open a github issue. (The exception was something like "could not find filesystem.clj").
@martinklepsch: it seems like the expectation is for BOOT_EMIT_TARGET=no
to be set automatically when the target
task is used
@micha: it would be identical in behaviour right?
except when you expect both writing automatically to target-path and using target task at the same time
(not automatically writing output files to :target-path
, using the target
task instead)
not tasks, but if your build system is supposed to put artifacts in the :target-path
dir, and you add the target
task it won't anymore
the target stuff can't affect any tasks, because it's writing files outside of the fileset
@micha: if BOOT_EMIT_TARGET
is not automatically set but the target task is used, would that mean that files are written to :target-path
twice
@martinklepsch: yes that's true but the diffing algorithm is very efficient
@magomimmo: working through the modern-cljs tutorial and really enjoying it. (Nice way to learn boot!) I'm getting an error on Tutorial 9 -- on the clj side, remotes.clj can't find shoreleave.handler.
but decided I need to give it a whirl -- I have a couple of moderately-complex lein projects with clj/cljs/java bits, uberjars, uberwars, etc. and am hopeful boot helps me keep it all a bit straighter in my head and on disk.
(after spending hours sorting out implied profiles in the uberjar/uberwar process...)
FWIW: I think it's supposed to be [compojure.handler :refer [site]]
, not shoreleave.handler
. That change seems to work, anyway.
is it normal when working with the nrepl client to get RejectedExecutionException
on the main boot thread when the client repl quits?
@curtosis: did you tray the following?
git clone
cd modern-cljs
git checkout se-tutorial-09
boot dev
I just checked that out (at the start of tutorial 10) and yep! it's right there. Looks like it's just in the tutorial text that it's wrong, then.
tutorial-09.md
, in the "Back to shoreleave" section, the last "here is the complete remotes.cljs
" snippet.
@curtosis: ok, I’ll take a look and let you know. give me 10 minutes, because I’m working on a different stuff at the moment
no worries! like I said, it looks like it's just in the text (and I deduced the right code so I could move ahead)
I think boot is similar to gradle, in the way that you can code, which is very cool indeed
is there a way to have a dependency that is just a local folder that I have? or a git(hub) repo?
or add :checkouts '[[foo/bar "1.2.3"]]
to your set-env!
call where you add dependencies
but I don’t want to use maven :/// I just want to use this folder that I have as a dependency
@jaredly: hi, I saw you PRed replumb 😉 Thanks!
Hi all
I’m running a cordova app on web/android/ios and boot has been great so far
I’m trying to get boot reload automatically push to all three platforms as I’m developing
It works out of the box for web and ios but the javascript on the android client needs
to actually be
Can I set the reload ws hostname at runtime?
Or is there a simpler more obvious way that I’m not seeing to achieve the same goal?
@frankie: I think there's an open ticket? I recall @martinklepsch wanting to do the same
@alandipert: couldn’t find any similar open issue. Could you keep me in the loop if there is an existing discussion? This would be an awesome feature
@jaredly: I had to do that for a prior project; my solution was to install the necessary libs in a repository that happened to be a directory in the project (and so under source control) and tell the project maven config about it. Not a good general solution -- you really don't want special-case handling for any significant dependencies -- but for things like e.g. a 3rd-party jar you can't download, it was a lifesaver.
@frankie: tried ws-host
option of the reload task?
@martinklepsch: yes, but if I set the host to 10.0.2.2
then the ios reload doesn’t work. They need two separate values
So I was wondering if i can change that on the client with a switch-case on the OS
Ah, I see, that's what you meant with android.
Err, "at runtime"
Hm. I'd suggest opening an issue afair there has not been discussion about something like this before
thanks @martinklepsch will do
@frankie: great, thanks! :)