Control: reopen -1

The minified files are now there, but they are empty because there is a
typo (f -> j) in debian/rules. I was able to fix that locally with this
patch:

----------------8<----------------8<----------------8<-----------------
diff --git a/debian/rules b/debian/rules
index dbf4bc4..4bc2f33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,12 +6,12 @@
 override_dh_auto_build:
        gulp build
        cd source && for f in *.js; do \
-               echo "Minify soure/$$f"; \
-               uglifyjs --source-map -o $${f%%.js}.min.js $$j; \
+               echo "Minify source/$$f"; \
+               uglifyjs --source-map -o $${f%%.js}.min.js $$f; \
        done
        cd dist/es5 && for f in *.js; do \
                echo "Minify dist/es5/$$f"; \
-               uglifyjs --source-map -o $${f%%.js}.min.js $$j; \
+               uglifyjs --source-map -o $${f%%.js}.min.js $$f; \
        done

 get-orig-source:

----------------8<----------------8<----------------8<-----------------

However, after that fix, the build fails, see the attached log.

It seems there are two problems:

- there are some files where uglify reports a parse error (because those
  files contain ES6 code?)

- dh_install fails because it can't find source/*.map

Attachment: flot.log.gz
Description: application/gzip

Attachment: signature.asc
Description: PGP signature

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to