GNU bug report logs - #27132
[PATCH 0/6] Add uglify-js

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Mon, 29 May 2017 16:54:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27132 in the body.
You can then email your comments to 27132 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Mon, 29 May 2017 16:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 29 May 2017 16:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: guix-patches <at> gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH 0/6] Add uglify-js
Date: Mon, 29 May 2017 18:53:02 +0200
Hi Guix,

this patch set adds a JavaScript compressor "uglify-js", which is really just
a wrapper around the Common Lisp library cl-uglify-js, a JavaScript compressor
library.

I'm not very familiar with Common Lisp, so the wrapper could probably be
improved.

~~ Ricardo


Ricardo Wurmus (6):
  gnu: Add sbcl-cl-ppcre-unicode.
  gnu: Add sbcl-parse-js.
  gnu: Add sbcl-parse-number.
  gnu: Add sbcl-iterate.
  gnu: Add sbcl-cl-uglify-js.
  gnu: Add uglify-js.

 gnu/packages/lisp.scm | 172 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 172 insertions(+)

-- 
2.12.2






Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Mon, 29 May 2017 17:22:02 GMT) Full text and rfc822 format available.

Message #8 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 27132 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode.
Date: Mon, 29 May 2017 19:21:26 +0200
* gnu/packages/lisp.scm (sbcl-cl-ppcre-unicode): New variable.
---
 gnu/packages/lisp.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 64acc75e5..6887b320f 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -881,6 +881,16 @@ from other CLXes around the net.")
 (define-public ecl-clx
   (sbcl-package->ecl-package sbcl-clx))
 
+(define-public sbcl-cl-ppcre-unicode
+  (package (inherit sbcl-cl-ppcre)
+    (name "sbcl-cl-ppcre-unicode")
+    (arguments
+     `(#:tests? #f ; tests fail with "Component :CL-PPCRE-TEST not found"
+       #:asd-file "cl-ppcre-unicode.asd"))
+    (inputs
+     `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
+       ("sbcl-cl-unicode" ,sbcl-cl-unicode)))))
+
 (define-public sbcl-stumpwm
   (package
     (name "sbcl-stumpwm")
-- 
2.12.2






Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Mon, 29 May 2017 17:22:02 GMT) Full text and rfc822 format available.

Message #11 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 27132 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH 2/6] gnu: Add sbcl-parse-js.
Date: Mon, 29 May 2017 19:21:27 +0200
* gnu/packages/lisp.scm (sbcl-parse-js): New variable.
---
 gnu/packages/lisp.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 6887b320f..473c31f39 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1226,3 +1226,26 @@ multiple inspectors with independent history.")
            (delete 'create-asd-file)
            (delete 'cleanup)
            (delete 'create-symlinks)))))))
+
+(define-public sbcl-parse-js
+  (let ((commit "fbadc6029bec7039602abfc06c73bb52970998f6")
+        (revision "1"))
+    (package
+      (name "sbcl-parse-js")
+      (version (string-append "0.0.0-" revision "." (string-take commit 9)))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "http://marijn.haverbeke.nl/git/parse-js")
+               (commit commit)))
+         (file-name (string-append name "-" commit "-checkout"))
+         (sha256
+          (base32
+           "1wddrnr5kiya5s3gp4cdq6crbfy9fqcz7fr44p81502sj3bvdv39"))))
+      (build-system asdf-build-system/sbcl)
+      (home-page "http://marijnhaverbeke.nl/parse-js/")
+      (synopsis "Parse JavaScript")
+      (description "Parse-js is a Common Lisp package for parsing
+JavaScript (ECMAScript 3).  It has basic support for ECMAScript 5.")
+      (license license:zlib))))
-- 
2.12.2






Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Mon, 29 May 2017 17:22:02 GMT) Full text and rfc822 format available.

Message #14 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 27132 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH 3/6] gnu: Add sbcl-parse-number.
Date: Mon, 29 May 2017 19:21:28 +0200
* gnu/packages/lisp.scm (sbcl-parse-number): New variable.
---
 gnu/packages/lisp.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 473c31f39..240c1b27f 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1249,3 +1249,27 @@ multiple inspectors with independent history.")
       (description "Parse-js is a Common Lisp package for parsing
 JavaScript (ECMAScript 3).  It has basic support for ECMAScript 5.")
       (license license:zlib))))
+
+(define-public sbcl-parse-number
+  (package
+    (name "sbcl-parse-number")
+    (version "1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/sharplispers/parse-number/"
+                           "archive/v" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1k6s4v65ksc1j5i0dprvzfvj213v6nah7i0rgd0726ngfjisj9ir"))))
+    (build-system asdf-build-system/sbcl)
+    (home-page "http://www.cliki.net/PARSE-NUMBER")
+    (synopsis "Parse numbers")
+    (description "@code{parse-number} is a library of functions for parsing
+strings into one of the standard Common Lisp number types without using the
+reader.  @code{parse-number} accepts an arbitrary string and attempts to parse
+the string into one of the standard Common Lisp number types, if possible, or
+else @code{parse-number} signals an error of type @code{invalid-number}.")
+    (license license:bsd-3)))
+
-- 
2.12.2






Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Mon, 29 May 2017 17:22:03 GMT) Full text and rfc822 format available.

Message #17 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 27132 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH 4/6] gnu: Add sbcl-iterate.
Date: Mon, 29 May 2017 19:21:29 +0200
* gnu/packages/lisp.scm (sbcl-iterate): New variable.
---
 gnu/packages/lisp.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 240c1b27f..669005d24 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1273,3 +1273,31 @@ the string into one of the standard Common Lisp number types, if possible, or
 else @code{parse-number} signals an error of type @code{invalid-number}.")
     (license license:bsd-3)))
 
+(define-public sbcl-iterate
+  (package
+    (name "sbcl-iterate")
+    ;; The latest official release (1.4.3) fails to build so we have to take
+    ;; the current darcs tarball from quicklisp.
+    (version "20160825")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://beta.quicklisp.org/archive/iterate/"
+                           "2016-08-25/iterate-"
+                           version "-darcs.tgz"))
+       (sha256
+        (base32
+         "0kvz16gnxnkdz0fy1x8y5yr28nfm7i2qpvix7mgwccdpjmsb4pgm"))))
+    (build-system asdf-build-system/sbcl)
+    (home-page "https://common-lisp.net/project/iterate/")
+    (synopsis "Iteration construct for Common Lisp")
+    (description "@code{iterate} is an iteration construct for Common Lisp.
+It is similar to the @code{CL:LOOP} macro, with these distinguishing marks:
+
+@itemize
+@item it is extensible,
+@item it helps editors like Emacs indent iterate forms by having a more
+  lisp-like syntax, and
+@item it isn't part of the ANSI standard for Common Lisp.
+@end itemize\n")
+    (license license:expat)))
-- 
2.12.2






Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Mon, 29 May 2017 17:22:03 GMT) Full text and rfc822 format available.

Message #20 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 27132 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH 5/6] gnu: Add sbcl-cl-uglify-js.
Date: Mon, 29 May 2017 19:21:30 +0200
* gnu/packages/lisp.scm (sbcl-cl-uglify-js): New variable.
---
 gnu/packages/lisp.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 669005d24..959d4c534 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1301,3 +1301,43 @@ It is similar to the @code{CL:LOOP} macro, with these distinguishing marks:
 @item it isn't part of the ANSI standard for Common Lisp.
 @end itemize\n")
     (license license:expat)))
+
+(define-public sbcl-cl-uglify-js
+  ;; There have been many bug fixes since the 2010 release.
+  (let ((commit "429c5e1d844e2f96b44db8fccc92d6e8e28afdd5")
+        (revision "1"))
+    (package
+      (name "sbcl-cl-uglify-js")
+      (version (string-append "0.1-" revision "." (string-take commit 9)))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mishoo/cl-uglify-js.git")
+               (commit commit)))
+         (sha256
+          (base32
+           "0k39y3c93jgxpr7gwz7w0d8yknn1fdnxrjhd03057lvk5w8js27a"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("sbcl-parse-js" ,sbcl-parse-js)
+         ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
+         ("sbcl-cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
+         ("sbcl-parse-number" ,sbcl-parse-number)
+         ("sbcl-iterate" ,sbcl-iterate)))
+      (home-page "https://github.com/mishoo/cl-uglify-js")
+      (synopsis "JavaScript compressor library for Common Lisp")
+      (description "This is a Common Lisp version of UglifyJS, a JavaScript
+compressor.  It works on data produced by @code{parse-js} to generate a
+“minified” version of the code.  Currently it can:
+
+@itemize
+@item reduce variable names (usually to single letters)
+@item join consecutive @code{var} statements
+@item resolve simple binary expressions
+@item group most consecutive statements using the “sequence” operator (comma)
+@item remove unnecessary blocks
+@item convert @code{IF} expressions in various ways that result in smaller code
+@item remove some unreachable code
+@end itemize\n")
+      (license license:zlib))))
-- 
2.12.2






Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Mon, 29 May 2017 17:22:04 GMT) Full text and rfc822 format available.

Message #23 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 27132 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH 6/6] gnu: Add uglify-js.
Date: Mon, 29 May 2017 19:21:31 +0200
* gnu/packages/lisp.scm (uglify-js): New variable.
---
 gnu/packages/lisp.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 959d4c534..2980b7004 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1341,3 +1341,50 @@ compressor.  It works on data produced by @code{parse-js} to generate a
 @item remove some unreachable code
 @end itemize\n")
       (license license:zlib))))
+
+(define-public uglify-js
+  (package
+    (inherit sbcl-cl-uglify-js)
+    (name "uglify-js")
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (let* ((bin    (string-append (assoc-ref %outputs "out") "/bin/"))
+              (script (string-append bin "uglify-js")))
+         (use-modules (guix build utils))
+         (mkdir-p bin)
+         (with-output-to-file script
+           (lambda _
+             (format #t "#!~a/bin/sbcl --script
+ (require :asdf)
+ (push (truename \"~a/lib/sbcl\") asdf:*central-registry*)"
+                     (assoc-ref %build-inputs "sbcl")
+                     (assoc-ref %build-inputs "sbcl-cl-uglify-js"))
+             ;; FIXME: cannot use progn here because otherwise it fails to
+             ;; find cl-uglify-js.
+             (for-each
+              write
+              '(;; Quiet, please!
+                (let ((*standard-output* (make-broadcast-stream))
+                      (*error-output* (make-broadcast-stream)))
+                  (asdf:load-system :cl-uglify-js))
+                (let ((file (cadr *posix-argv*)))
+                  (if file
+                      (format t "~a"
+                              (cl-uglify-js:ast-gen-code
+                               (cl-uglify-js:ast-mangle
+                                (cl-uglify-js:ast-squeeze
+                                 (with-open-file (in file)
+                                                 (parse-js:parse-js in))))
+                               :beautify nil))
+                      (progn
+                       (format *error-output*
+                               "Please provide a JavaScript file.~%")
+                       (sb-ext:exit :code 1))))))))
+         (chmod script #o755)
+         #t)))
+    (inputs
+     `(("sbcl" ,sbcl)
+       ("sbcl-cl-uglify-js" ,sbcl-cl-uglify-js)))
+    (synopsis "JavaScript compressor")))
-- 
2.12.2






Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Thu, 01 Jun 2017 12:01:02 GMT) Full text and rfc822 format available.

Message #26 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 27132 <at> debbugs.gnu.org
Subject: Re: bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode.
Date: Thu, 01 Jun 2017 14:00:17 +0200
Ricardo Wurmus <rekado <at> elephly.net> skribis:

> * gnu/packages/lisp.scm (sbcl-cl-ppcre-unicode): New variable.
> ---
>  gnu/packages/lisp.scm | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
> index 64acc75e5..6887b320f 100644
> --- a/gnu/packages/lisp.scm
> +++ b/gnu/packages/lisp.scm
> @@ -881,6 +881,16 @@ from other CLXes around the net.")
>  (define-public ecl-clx
>    (sbcl-package->ecl-package sbcl-clx))
>  
> +(define-public sbcl-cl-ppcre-unicode
> +  (package (inherit sbcl-cl-ppcre)
> +    (name "sbcl-cl-ppcre-unicode")
> +    (arguments
> +     `(#:tests? #f ; tests fail with "Component :CL-PPCRE-TEST not found"
> +       #:asd-file "cl-ppcre-unicode.asd"))

So this is really different from cl-ppcre, right?

Anyway, looks reasonable to me.

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Thu, 01 Jun 2017 12:01:02 GMT) Full text and rfc822 format available.

Message #29 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 27132 <at> debbugs.gnu.org
Subject: Re: bug#27132: [PATCH 2/6] gnu: Add sbcl-parse-js.
Date: Thu, 01 Jun 2017 14:00:42 +0200
Ricardo Wurmus <rekado <at> elephly.net> skribis:

> * gnu/packages/lisp.scm (sbcl-parse-js): New variable.

LGTM!




Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Thu, 01 Jun 2017 12:02:02 GMT) Full text and rfc822 format available.

Message #32 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 27132 <at> debbugs.gnu.org
Subject: Re: bug#27132: [PATCH 3/6] gnu: Add sbcl-parse-number.
Date: Thu, 01 Jun 2017 14:01:00 +0200
Ricardo Wurmus <rekado <at> elephly.net> skribis:

> * gnu/packages/lisp.scm (sbcl-parse-number): New variable.

LGTM!




Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Thu, 01 Jun 2017 12:02:02 GMT) Full text and rfc822 format available.

Message #35 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 27132 <at> debbugs.gnu.org
Subject: Re: bug#27132: [PATCH 4/6] gnu: Add sbcl-iterate.
Date: Thu, 01 Jun 2017 14:01:22 +0200
Ricardo Wurmus <rekado <at> elephly.net> skribis:

> * gnu/packages/lisp.scm (sbcl-iterate): New variable.

LGTM!




Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Thu, 01 Jun 2017 12:03:02 GMT) Full text and rfc822 format available.

Message #38 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 27132 <at> debbugs.gnu.org
Subject: Re: bug#27132: [PATCH 5/6] gnu: Add sbcl-cl-uglify-js.
Date: Thu, 01 Jun 2017 14:02:17 +0200
Ricardo Wurmus <rekado <at> elephly.net> skribis:

> * gnu/packages/lisp.scm (sbcl-cl-uglify-js): New variable.

[...]

> +      (home-page "https://github.com/mishoo/cl-uglify-js")
> +      (synopsis "JavaScript compressor library for Common Lisp")
> +      (description "This is a Common Lisp version of UglifyJS, a JavaScript
> +compressor.  It works on data produced by @code{parse-js} to generate a
> +“minified” version of the code.  Currently it can:

@dfn{minified}

> +@item group most consecutive statements using the “sequence” operator (comma)

``sequence''

Otherwise LGTM, thanks!




Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Thu, 01 Jun 2017 12:04:02 GMT) Full text and rfc822 format available.

Message #41 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 27132 <at> debbugs.gnu.org
Subject: Re: bug#27132: [PATCH 6/6] gnu: Add uglify-js.
Date: Thu, 01 Jun 2017 14:03:46 +0200
Ricardo Wurmus <rekado <at> elephly.net> skribis:

> * gnu/packages/lisp.scm (uglify-js): New variable.

LGTM!  This will definitely be useful for JS packaging like the things
Arun was looking at.  Thank you for doing this!

Ludo’.




Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Thu, 01 Jun 2017 21:34:03 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Thu, 01 Jun 2017 21:34:03 GMT) Full text and rfc822 format available.

Message #46 received at 27132-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27132-done <at> debbugs.gnu.org
Subject: Re: bug#27132: [PATCH 6/6] gnu: Add uglify-js.
Date: Thu, 01 Jun 2017 23:33:28 +0200
Ludovic Courtès <ludo <at> gnu.org> writes:

> Ricardo Wurmus <rekado <at> elephly.net> skribis:
>
>> * gnu/packages/lisp.scm (uglify-js): New variable.
>
> LGTM!  This will definitely be useful for JS packaging like the things
> Arun was looking at.  Thank you for doing this!

Thanks for the review!  Pushed with commit dd35abfee after applying your
changes.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Information forwarded to guix-patches <at> gnu.org:
bug#27132; Package guix-patches. (Fri, 02 Jun 2017 19:01:02 GMT) Full text and rfc822 format available.

Message #49 received at 27132 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 27132 <at> debbugs.gnu.org
Subject: Re: bug#27132: [PATCH 6/6] gnu: Add uglify-js.
Date: Sat, 03 Jun 2017 00:30:01 +0530
Ludovic Courtès writes:

> Ricardo Wurmus <rekado <at> elephly.net> skribis:
>
>> * gnu/packages/lisp.scm (uglify-js): New variable.
>
> LGTM!  This will definitely be useful for JS packaging like the things
> Arun was looking at.  Thank you for doing this!

Yes, I'll use this package (uglify-js) to minify javascript now. But, I
think it would be better to contribute this wrapper script upstream to
the `cl-uglify-js' project. Then, we would be able to remove this
`uglify-js' package and just use `sbcl-cl-uglify-js'.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Jul 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 50 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.