10 lines
352 B
Python
10 lines
352 B
Python
Import("env")
|
|
|
|
env.Execute("gzip -9 < src/webinterface/index.html > src/webinterface/index.html.gz")
|
|
env.Execute("gzip -9 < src/webinterface/timezones.json > src/webinterface/timezones.json.gz")
|
|
|
|
def build(source, target, env):
|
|
env.Execute("rm src/webinterface/index.html.gz src/webinterface/timezones.json.gz")
|
|
|
|
env.AddPostAction("buildprog", build)
|