Fork me on GitHub
#cljsjs
<
2016-03-23
>
damian10:03:48

I can't pass boot package

damian10:03:14

Where should I look for errors?

martinklepsch10:03:56

@damian: is this a package that's published already? I'd think this might be an issue with the regular exprs you're using?

damian10:03:17

Leaflet.draw isn't used in cljsjs yet if that's your question

damian10:03:14

This is my package function:

martinklepsch10:03:20

@damian: try removing this line #"^Leaflet.draw-master/dist/images/(.*\.png)$" "cljsjs/common/images/$2"

martinklepsch10:03:37

I think that's what the group 2 thing refers to in the error

damian10:03:57

Wow! It worked

martinklepsch10:03:33

Maybe it even correctly works if you replace the $2 with $1 but my regex fu isn't so great simple_smile

damian10:03:23

Well, as there are only two images, I just did: ` #"^Leaflet.draw-master/dist/images/spritesheet.png" "cljsjs/common/images/spritesheet.png" #"^Leaflet.draw-master/dist/images/spritesheet-2x.png" "cljsjs/common/images/spritesheet-2x.png"`

damian11:03:02

It works! parrot Thanks a lot for your help

martinklepsch13:03:54

@damian: happy to help

martinklepsch13:03:52

@damian: you could squash the two commits in that PR but otherwise looks good 👍

damian13:03:41

Yeah, sorry about that

martinklepsch13:03:44

No problem, it's not "enforced"... more of a nice to have simple_smile @damian