on master help sign in
Allow configuring closure compiler as command line arg
commite298d058fdf26f90a30c1d6e3afda299385cb68b authorTom Smalley <tfsmalley@gmail.com> dateFri 25 Jan 2019, 15:24 (8 years ago) parent49d0a21
1 file changed+2
skeleton/default.nix+2
skeleton/default.nix+2
@@ -1,5 +1,6 @@
11{ system ? builtins.currentSystem # TODO: Get rid of this system cruft
22, iosSdkVersion ? "10.2"
3+, closureCompilerOptimizationLevel ? "ADVANCED" # Set this to `null` to skip the closure compiler step
34}:
45with import ./.obelisk/impl { inherit system iosSdkVersion; };
56project ./. ({ ... }: {
@@ -7,4 +8,5 @@ project ./. ({ ... }: {
78 android.displayName = "Obelisk Minimal Example";
89 ios.bundleIdentifier = "systems.obsidian.obelisk.examples.minimal";
910 ios.bundleName = "Obelisk Minimal Example";
11+ __closureCompilerOptimizationLevel = closureCompilerOptimizationLevel;
1012})