Fork me on GitHub
#cljsjs
<
2016-02-18
>
d_run01:02:13

hello - having a real difficult time setting up a package during the package job, keep getting the following error:

Extracting 108 files
Sifting output files...
Sifting output files...
             clojure.lang.ExceptionInfo: java.lang.AssertionError: Assert failed: No .inc.js file found!
                                         regular

d_run01:02:52

this is the relevant part of the boot file

d_run01:02:55

(deftask package []
  (comp
    (download-svgjs)
    (sift :move {#"^svg\.js-*/dist/svg\.js$" "cljsjs/svgjs/development/svg.inc.js"
                 #"^svg\.js-*/dist/svg\.min\.js$" "cljsjs/svgjs/production/svg.min.inc.js"})
    (sift :include #{#"^cljsjs"})
    (deps-cljs :name "cljsjs.svgjs")))

d_run01:02:35

unclear if the :move can't find what its looking for or some other problem

d_run02:02:33

ah never mind, just cribbed a different way of doing it from another package. Just noting there are very little in the way of docs on the sift portion of the file in https://github.com/cljsjs/packages/wiki/Creating-Packages - every package seems to take a different approach

martinklepsch10:02:12

@d_run: one way to inspect stuff within the pipeline is to add (show :fileset true) which will print the current fileset. Should help debugging those kinds of issues

d_run11:02:57

thanks, good to know!

robert-stuttaford15:02:29

hi deraen, i’m here simple_smile i see the tests failed due to failed checksums. should i do something to fix?

juhoteperi15:02:04

@robert-stuttaford: Yeah you should try running the package task locally and update the checksums to match new version

robert-stuttaford15:02:13

what’s the best way to go from here - revert back to 0.9.4 and make -1 into -2?

juhoteperi15:02:31

That would work also, if you don't need the latest version

robert-stuttaford15:02:18

ok, i have done that

robert-stuttaford15:02:39

ok, the tests are passing!

robert-stuttaford15:02:00

thanks Deraen, you’re a legend

juhoteperi15:02:36

Heh, thanks.