boot-cljsjs
boot-cljsjs copied to clipboard
Helper tasks to aid the packaging of JS dependencies for Clojurescript projects
Hi, could you please consider the following patch to close zipfile before removing it, while unzipping. It appears as if windows 7/10 is holding a handle to the open zip...
checksum check doesn't see files from minify task, at least in certain situations. `boot package` didn't see minified file `boot package target` worked correctly Currently validate-checksums checks the fileset before...
I'd like to add the package diffDOM to `cljsjs/packages`. It does not provide minified version, so would like to minify it with the built-in task. It fails due to the...
I'm trying to test my changes locally with `boot package install target` and I get ``` react-tooltip git:(master) ✗ boot package install target ~/forks/packages/react-tooltip Downloading 3.6.0.zip May 30, 2018 2:35:50...
I have for example tried this in a new fork ``` (deftask package [] (comp (download :url (format "https://unpkg.com/@microsoft/office-js@%s/dist/office.debug.js" +lib-version+) :target "cljsjs/office-js/development/office-js.inc.js") (download :url (format "https://unpkg.com/@microsoft/office-js@%s/dist/office.js" +lib-version+) :target "cljsjs/office-js/production/office-js.min.inc.js") (sift...
Paths in the generated :externs array use backslashes, which trips up whatever is consuming deps.cljs.
It looks like after expanding the downloading zip, it is deleted but that doesn't work on Windows: ``` C:\Users\pupeno\Documents\Dashman\packages\react-toolbox>boot package target install Downloading 1.3.3.zip Extracting 377 files java.lang.Thread.run Thread.java: 745...
This boot file https://github.com/skrat/packages/blob/facb55a73efa7f8db6b0daf1536699071a1cafe4/libtess/build.boot Throws this error on Windows (but works on Linux) https://gist.github.com/skrat/79b7e43899e685a35dcecd70cd4d1bf5 According to @micha , the bug is here https://github.com/cljsjs/boot-cljsjs/blob/0.5.2/src/cljsjs/boot_cljsjs/packaging.clj#L179
When I specify a minify task, such as: ```clojure (minify :in "cljsjs/react-toolbox/development/react-toolbox.inc.js" :out "cljsjs/react-toolbox/production/react-toolbox.min.inc.js" :lang :ecmascript5) ``` it crashes with this error: ``` java.lang.Thread.run Thread.java: 745 java.util.concurrent.ThreadPoolExecutor$Worker.run ThreadPoolExecutor.java: 617 java.util.concurrent.ThreadPoolExecutor.runWorker...
Apparently there are some problems around unzipping things on Windows using the `unzip` task: https://github.com/cljsjs/packages/pull/96