all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27132: [PATCH 0/6] Add uglify-js
@ 2017-05-29 16:53 Ricardo Wurmus
  2017-05-29 17:21 ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ricardo Wurmus
  0 siblings, 1 reply; 15+ messages in thread
From: Ricardo Wurmus @ 2017-05-29 16:53 UTC (permalink / raw)
  To: 27132; +Cc: Ricardo Wurmus

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode.
  2017-05-29 16:53 bug#27132: [PATCH 0/6] Add uglify-js Ricardo Wurmus
@ 2017-05-29 17:21 ` Ricardo Wurmus
  2017-05-29 17:21   ` bug#27132: [PATCH 2/6] gnu: Add sbcl-parse-js Ricardo Wurmus
                     ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Ricardo Wurmus @ 2017-05-29 17:21 UTC (permalink / raw)
  To: 27132; +Cc: Ricardo Wurmus

* 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

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 2/6] gnu: Add sbcl-parse-js.
  2017-05-29 17:21 ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ricardo Wurmus
@ 2017-05-29 17:21   ` Ricardo Wurmus
  2017-06-01 12:00     ` Ludovic Courtès
  2017-05-29 17:21   ` bug#27132: [PATCH 3/6] gnu: Add sbcl-parse-number Ricardo Wurmus
                     ` (4 subsequent siblings)
  5 siblings, 1 reply; 15+ messages in thread
From: Ricardo Wurmus @ 2017-05-29 17:21 UTC (permalink / raw)
  To: 27132; +Cc: Ricardo Wurmus

* 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

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 3/6] gnu: Add sbcl-parse-number.
  2017-05-29 17:21 ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ricardo Wurmus
  2017-05-29 17:21   ` bug#27132: [PATCH 2/6] gnu: Add sbcl-parse-js Ricardo Wurmus
@ 2017-05-29 17:21   ` Ricardo Wurmus
  2017-06-01 12:01     ` Ludovic Courtès
  2017-05-29 17:21   ` bug#27132: [PATCH 4/6] gnu: Add sbcl-iterate Ricardo Wurmus
                     ` (3 subsequent siblings)
  5 siblings, 1 reply; 15+ messages in thread
From: Ricardo Wurmus @ 2017-05-29 17:21 UTC (permalink / raw)
  To: 27132; +Cc: Ricardo Wurmus

* 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

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 4/6] gnu: Add sbcl-iterate.
  2017-05-29 17:21 ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ricardo Wurmus
  2017-05-29 17:21   ` bug#27132: [PATCH 2/6] gnu: Add sbcl-parse-js Ricardo Wurmus
  2017-05-29 17:21   ` bug#27132: [PATCH 3/6] gnu: Add sbcl-parse-number Ricardo Wurmus
@ 2017-05-29 17:21   ` Ricardo Wurmus
  2017-06-01 12:01     ` Ludovic Courtès
  2017-05-29 17:21   ` bug#27132: [PATCH 5/6] gnu: Add sbcl-cl-uglify-js Ricardo Wurmus
                     ` (2 subsequent siblings)
  5 siblings, 1 reply; 15+ messages in thread
From: Ricardo Wurmus @ 2017-05-29 17:21 UTC (permalink / raw)
  To: 27132; +Cc: Ricardo Wurmus

* 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

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 5/6] gnu: Add sbcl-cl-uglify-js.
  2017-05-29 17:21 ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ricardo Wurmus
                     ` (2 preceding siblings ...)
  2017-05-29 17:21   ` bug#27132: [PATCH 4/6] gnu: Add sbcl-iterate Ricardo Wurmus
@ 2017-05-29 17:21   ` Ricardo Wurmus
  2017-06-01 12:02     ` Ludovic Courtès
  2017-05-29 17:21   ` bug#27132: [PATCH 6/6] gnu: Add uglify-js Ricardo Wurmus
  2017-06-01 12:00   ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ludovic Courtès
  5 siblings, 1 reply; 15+ messages in thread
From: Ricardo Wurmus @ 2017-05-29 17:21 UTC (permalink / raw)
  To: 27132; +Cc: Ricardo Wurmus

* 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

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 6/6] gnu: Add uglify-js.
  2017-05-29 17:21 ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ricardo Wurmus
                     ` (3 preceding siblings ...)
  2017-05-29 17:21   ` bug#27132: [PATCH 5/6] gnu: Add sbcl-cl-uglify-js Ricardo Wurmus
@ 2017-05-29 17:21   ` Ricardo Wurmus
  2017-06-01 12:03     ` Ludovic Courtès
  2017-06-01 12:00   ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ludovic Courtès
  5 siblings, 1 reply; 15+ messages in thread
From: Ricardo Wurmus @ 2017-05-29 17:21 UTC (permalink / raw)
  To: 27132; +Cc: Ricardo Wurmus

* 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

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode.
  2017-05-29 17:21 ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ricardo Wurmus
                     ` (4 preceding siblings ...)
  2017-05-29 17:21   ` bug#27132: [PATCH 6/6] gnu: Add uglify-js Ricardo Wurmus
@ 2017-06-01 12:00   ` Ludovic Courtès
  5 siblings, 0 replies; 15+ messages in thread
From: Ludovic Courtès @ 2017-06-01 12:00 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 27132

Ricardo Wurmus <rekado@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’.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 2/6] gnu: Add sbcl-parse-js.
  2017-05-29 17:21   ` bug#27132: [PATCH 2/6] gnu: Add sbcl-parse-js Ricardo Wurmus
@ 2017-06-01 12:00     ` Ludovic Courtès
  0 siblings, 0 replies; 15+ messages in thread
From: Ludovic Courtès @ 2017-06-01 12:00 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 27132

Ricardo Wurmus <rekado@elephly.net> skribis:

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

LGTM!

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 3/6] gnu: Add sbcl-parse-number.
  2017-05-29 17:21   ` bug#27132: [PATCH 3/6] gnu: Add sbcl-parse-number Ricardo Wurmus
@ 2017-06-01 12:01     ` Ludovic Courtès
  0 siblings, 0 replies; 15+ messages in thread
From: Ludovic Courtès @ 2017-06-01 12:01 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 27132

Ricardo Wurmus <rekado@elephly.net> skribis:

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

LGTM!

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 4/6] gnu: Add sbcl-iterate.
  2017-05-29 17:21   ` bug#27132: [PATCH 4/6] gnu: Add sbcl-iterate Ricardo Wurmus
@ 2017-06-01 12:01     ` Ludovic Courtès
  0 siblings, 0 replies; 15+ messages in thread
From: Ludovic Courtès @ 2017-06-01 12:01 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 27132

Ricardo Wurmus <rekado@elephly.net> skribis:

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

LGTM!

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 5/6] gnu: Add sbcl-cl-uglify-js.
  2017-05-29 17:21   ` bug#27132: [PATCH 5/6] gnu: Add sbcl-cl-uglify-js Ricardo Wurmus
@ 2017-06-01 12:02     ` Ludovic Courtès
  0 siblings, 0 replies; 15+ messages in thread
From: Ludovic Courtès @ 2017-06-01 12:02 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 27132

Ricardo Wurmus <rekado@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!

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 6/6] gnu: Add uglify-js.
  2017-05-29 17:21   ` bug#27132: [PATCH 6/6] gnu: Add uglify-js Ricardo Wurmus
@ 2017-06-01 12:03     ` Ludovic Courtès
  2017-06-01 21:33       ` Ricardo Wurmus
  2017-06-02 19:00       ` Arun Isaac
  0 siblings, 2 replies; 15+ messages in thread
From: Ludovic Courtès @ 2017-06-01 12:03 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 27132

Ricardo Wurmus <rekado@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’.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 6/6] gnu: Add uglify-js.
  2017-06-01 12:03     ` Ludovic Courtès
@ 2017-06-01 21:33       ` Ricardo Wurmus
  2017-06-02 19:00       ` Arun Isaac
  1 sibling, 0 replies; 15+ messages in thread
From: Ricardo Wurmus @ 2017-06-01 21:33 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27132-done


Ludovic Courtès <ludo@gnu.org> writes:

> Ricardo Wurmus <rekado@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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#27132: [PATCH 6/6] gnu: Add uglify-js.
  2017-06-01 12:03     ` Ludovic Courtès
  2017-06-01 21:33       ` Ricardo Wurmus
@ 2017-06-02 19:00       ` Arun Isaac
  1 sibling, 0 replies; 15+ messages in thread
From: Arun Isaac @ 2017-06-02 19:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Ricardo Wurmus, 27132


Ludovic Courtès writes:

> Ricardo Wurmus <rekado@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'.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-06-02 19:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-29 16:53 bug#27132: [PATCH 0/6] Add uglify-js Ricardo Wurmus
2017-05-29 17:21 ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ricardo Wurmus
2017-05-29 17:21   ` bug#27132: [PATCH 2/6] gnu: Add sbcl-parse-js Ricardo Wurmus
2017-06-01 12:00     ` Ludovic Courtès
2017-05-29 17:21   ` bug#27132: [PATCH 3/6] gnu: Add sbcl-parse-number Ricardo Wurmus
2017-06-01 12:01     ` Ludovic Courtès
2017-05-29 17:21   ` bug#27132: [PATCH 4/6] gnu: Add sbcl-iterate Ricardo Wurmus
2017-06-01 12:01     ` Ludovic Courtès
2017-05-29 17:21   ` bug#27132: [PATCH 5/6] gnu: Add sbcl-cl-uglify-js Ricardo Wurmus
2017-06-01 12:02     ` Ludovic Courtès
2017-05-29 17:21   ` bug#27132: [PATCH 6/6] gnu: Add uglify-js Ricardo Wurmus
2017-06-01 12:03     ` Ludovic Courtès
2017-06-01 21:33       ` Ricardo Wurmus
2017-06-02 19:00       ` Arun Isaac
2017-06-01 12:00   ` bug#27132: [PATCH 1/6] gnu: Add sbcl-cl-ppcre-unicode Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.