on master help sign in
Allow overriding all project args with command line args
0afb2ccTom Smalley
skeleton/default.nix+2−3
@@ -1,6 +1,6 @@
1{ system ? builtins.currentSystem # TODO: Get rid of this system cruft
1{ system ? builtins.currentSystem # TODO: Get rid of this system cruft
2, iosSdkVersion ? "10.2"
2, iosSdkVersion ? "10.2"
3−, closureCompilerOptimizationLevel ? "ADVANCED" # Set this to `null` to skip the closure compiler step
3+, projectOverrides ? {}
4}:
4}:
5with import ./.obelisk/impl { inherit system iosSdkVersion; };
5with import ./.obelisk/impl { inherit system iosSdkVersion; };
6project ./. ({ ... }: {
6project ./. ({ ... }: {
@@ -8,5 +8,4 @@ project ./. ({ ... }: {
8 android.displayName = "Obelisk Minimal Example";
8 android.displayName = "Obelisk Minimal Example";
9 ios.bundleIdentifier = "systems.obsidian.obelisk.examples.minimal";
9 ios.bundleIdentifier = "systems.obsidian.obelisk.examples.minimal";
10 ios.bundleName = "Obelisk Minimal Example";
10 ios.bundleName = "Obelisk Minimal Example";
11− __closureCompilerOptimizationLevel = closureCompilerOptimizationLevel;
11+} // projectOverrides)
12−})