Skip to content

Instantly share code, notes, and snippets.

@mumez
Created May 24, 2013 12:19
Show Gist options
  • Save mumez/5643114 to your computer and use it in GitHub Desktop.
Save mumez/5643114 to your computer and use it in GitHub Desktop.
Make Amber Smalltalk deploy.js files into one file by uglifyjs
#! /bin/sh
files='Kernel-Objects.deploy.js Kernel-Classes.deploy.js Kernel-Methods.deploy.js Kernel-Collections.deploy.js Kernel-Exceptions.deploy.js Kernel-Transcript.deploy.js Kernel-Announcements.deploy.js Canvas.deploy.js'
opts='-v -o'
uglifyjs $files $opts amberKernel.js
@mumez
Copy link
Author

mumez commented May 24, 2013

Add -c option (opts='-v -c -o') if you would like to compress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment