1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00

Switch SCons decider, crunch PNG screenshots.

SCons decider for main build and luarpc have been switched to MD5-timestamp,
which will prevent scons from re-digesting files it has cached unless
timestamp has changed (should shave a little off of build times, but be safe).

Some of the PNG screenshots that didn't get crunched before the 0.7 release
have been run through optipng, advpng and pngout to wring out as many bytes as
possible without losing data/quality.
This commit is contained in:
James Snyder 2010-01-28 19:17:22 +00:00
parent 8689b9663c
commit c31efa276a
5 changed files with 2 additions and 2 deletions

View File

@ -365,7 +365,7 @@ comp = Environment( CCCOM = tools[ platform ][ 'cccom' ],
# comp.SourceSignatures( 'MD5' )
comp[ 'INCPREFIX' ] = "-I"
Default( comp.Program( target = output, source = Split( source_files ) ) )
Decider( 'MD5' )
Decider( 'MD5-timestamp' )
# Programming target
prog = Environment( BUILDERS = { 'program' : Builder( action = Action ( tools[ platform ][ 'progfunc' ] ) ) }, ENV = os.environ )

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -29,5 +29,5 @@ comp = Environment( CPPPATH = local_include,
# Debug
comp.PrependUnique(CCFLAGS=['-g'])
Decider( 'MD5' )
Decider( 'MD5-timestamp' )
Default( comp.Program( output, Split( lua_full_files ), LIBS=external_libs ) )