Release builds
Saturday, October 14, 2017 6:12 AMYou can configure quilk to run additional modules and commands for specific environments, eg a dev server where you want to test compressed and obfusicated code.
This is acheived with the release_commands_or_modules
block of the quilk json. The release block can contain as many different releases as you like, eg "dev", "staging", "live".
Each block can contain either or all of the following:
-
pre
this is stuff that will be called before the std quilk modules. -
post
this is stuff that will be called after the std quilk modules. -
complete
this is stuff that will be called after thepost
and with zero errors. -
error
this will be called when there is an error found in the pre, std modules, post or even complete.
Please see the kicthen sink json for a fuller example.