Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-compress #59

Open
jessevondoom opened this issue Feb 22, 2016 · 0 comments
Open

Auto-compress #59

jessevondoom opened this issue Feb 22, 2016 · 0 comments

Comments

@jessevondoom
Copy link
Member

Currently we build the compressed version of the scripts from the source folder manually. That's dumb.

All that's really needed is a shell script that runs like the tools/devtools script in platform. (https://github.com/cashmusic/platform/blob/master/tools/devtools) It should scan the /source folder for all JS/CSS and send curl requests to compress everything it finds and replace/create counterparts in the /compressed folder.

  • We use closure compiler for JS (https://closure-compiler.appspot.com/home) which has many options for command-line usage.
  • Right now we're just writing short CSS...should look into which scripts are best to strip extra whitespace/formatting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant