Skip to content

Auto-compress #59

@jessevondoom

Description

@jessevondoom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions