Skip to content

mobalean/GenerateAssets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Generate Assets

This class is used to create 'assets' for an 'asset pipeline', similar to the asset pipeline implemented by Ruby on Rails. It does the following:

  1. Delete old assets from destination folder (public/assets).
  2. Create new asset subfolders, if necessary.
  3. Process image files: calculate MD5 hashes, fingerprint, move to public/assets/img
  4. Concatenate Javascript files, minimize, fingerprint and move to public/assets/js
  5. Concatenate css files, minimize, fingerprint and move to public/assets/css
  6. Write out assets.txt.

Usage

javac GenerateAssets.java

java GenerateAssets

License

Copyright © 2015 Mobalean LLC

Requirements

Java 1.7

About

A Java program to fingerprint and minimize web assets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages