Fork me on GitHub
#boot
<
2015-08-10
>
samedhi01:08:09

I was wondering where to put plugins and dependencies as seen in https://github.com/tanzoniteblack/basic-clojure-emacs/blob/master/profiles.clj within my profiles.boot file (which looks like https://gist.github.com/samedhi/83e8605dc9543e975102)? Basically, are both :plugins and :dependencies just part of boot.repl/default-dependencies within boot?

micha01:08:10

there aren't really plugins in boot

samedhi01:08:55

So am I just importing the library and doing nothing with my own profile.boot currently?

micha01:08:35

are you asking about cider integration, specifically?

micha01:08:40

the best place to find info about that i thnk is here https://github.com/boot-clj/boot/wiki/Cider-REPL

samedhi01:08:55

It sounds like you are saying that refactor-nrepl is just not going to work in boot (it is a pluggin), but acyclic/squiggly-clojure (which is just a dependency) might work?

micha01:08:34

i'm not sure about refactor-nrepl

micha01:08:07

it might work!

micha05:08:42

nice, there were a lot of changes so i didn't squash commits

micha05:08:54

so you could see what's going on a little better

micha05:08:07

also that merge was killing me simple_smile

juhoteperi05:08:27

rebase works better in these cases 😄

juhoteperi05:08:40

And I did move some of the changes to master branch

juhoteperi05:08:55

as they were just general cleaning

micha05:08:45

everything should be working in there now

micha05:08:52

i just finished the dependency order stuff

micha05:08:27

one thing i didn't do that we probably need to do is add a --docroot option and compute :asset-path relative to that if given

micha05:08:49

or --webroot

micha05:08:53

or soemthing

micha05:08:07

annoying but people will be using it i'm sure

juhoteperi05:08:25

Currently they can use :compiler-options {:asset-path ...}

micha05:08:38

these changes make that more difficult i think

micha05:08:46

maybe not

micha05:08:00

also i could add a thing that sifts away the output-dir when it's not needed (eg. :optimizations :advanced with :source-map false)

juhoteperi05:08:28

Could make sanse.

micha05:08:29

the macro reloading is very nice btw

juhoteperi05:08:38

Should we merge the branch now?

micha05:08:43

i'm for it!

juhoteperi05:08:48

I added the dep-order stuff to my version

micha05:08:44

lol we have one test now

micha05:08:58

so we can sleep soundly

micha05:08:07

knowing everything will be okay

juhoteperi05:08:58

Now we can setup CI

andrewboltachev13:08:21

Hi. Anyone using boot tasks to build CLJS to target Node.js?

andrewboltachev14:08:05

@martinklepsch: boot-cljs generated main.js with the following content: http://dpaste.com/1REH6K1

andrewboltachev14:08:27

I've got obvious error "ReferenceError: goog is not defined"

andrewboltachev14:08:29

and that was "boot2 cljs -s -c '{:target :nodejs}'"

martinklepsch14:08:17

@andrewboltachev: what versions of boot-cljs and cljs?

martinklepsch14:08:02

@andrewboltachev: do you have a .cljs.edn file?

andrewboltachev14:08:27

1. boot-cljs adzerk/boot-cljs "0.0-2814-0" cljs - haven't specified it 2. no

martinklepsch14:08:29

@andrewboltachev: try with latest boot-cljs, the version you’re using is fairly old

juhoteperi14:08:18

0.0-3308-0 is latest stable release

juhoteperi14:08:39

I guess you are also running old boot

juhoteperi14:08:18

yes that’s quite old

juhoteperi14:08:53

running boot -u should update to 2.2.0 though you should probably also download a new binary

andrewboltachev14:08:23

huh. works in fact. wrong working dir

andrewboltachev14:08:27

thanks all for help!

pleasetrythisathome16:08:21

hey all. getting an error after upgrading to 2.2.0

pleasetrythisathome16:08:22

java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: boot.App.getClojureName()Ljava/lang/String; java.lang.NoSuchMethodError: boot.App.getClojureName()Ljava/lang/String; boot.pod/make-pod pod.clj: 458

pleasetrythisathome16:08:30

anyone else see that?

micha16:08:53

i think it means that you need to download the newset binary

pleasetrythisathome16:08:05

does boot -u not do that?

micha16:08:25

no, that updates the bulk of the boot code

pleasetrythisathome16:08:36

but doesn’t update the java binary

micha16:08:38

but very rarely we add something to the binary

micha16:08:51

yeah the binary is just a thin shim that does the classloader magic

micha16:08:12

all boot clojure code is in the maven depdencies that are updated with boot -u

juhoteperi16:08:53

In future we should remember to mention in CHANGES.md when there have been binary changes

pleasetrythisathome16:08:47

maybe a function like depreciate that warns that you need to update the binary

micha16:08:56

yeah we can and should still fix that

micha16:08:40

use reflection to guard that access

micha16:08:46

or a try catch lol

juhoteperi17:08:47

@micha: Stop chaging dependencies indentation in boot-cljs 😄

juhoteperi17:08:12

or alignment

micha19:08:15

you can do git diff -w you know

martinklepsch19:08:39

calling a pod-pool with :take — what does it do? I don’t fully understand the impl

micha19:08:07

:take allows you to obtain a pod without the previous pod being cleaned up

micha19:08:26

normally the pod pool manages cleaning up the pods as you refresh them

aengelberg23:08:13

Does boot-test support cljc test cases?