Compressing assets post-update with Subversion
Posted
by Oskar Krawczyk
on Stack Overflow
See other posts from Stack Overflow
or by Oskar Krawczyk
Published on 2010-04-27T10:00:11Z
Indexed on
2010/04/27
10:03 UTC
Read the original article
Hit count: 448
svn
|post-update
I'm trying to find a way to compress specific assets post-update on a Production server. So far, I can't find any way to do this that's even remotely simple.
Anyone has any insights/experience in doing this?
Basically, what I need to do is run a Java utility to compress CSS and JS files - the problem with JS files is that they may or might not validate (JS errors), if it doesn't validate the Java utility will throw output a message. This makes the whole idea a bit more complicated.
© Stack Overflow or respective owner