Funyinoluwa Kashimawo
12/06/2023, 10:15 PMconf.yaml
server:
files:
dev:
contentRoot: "build/processedResources/js/main/public"
script: "build/dist/js/developmentExecutable/admin.js"
siteRoot: ".kobweb/site-dev"
api: "build/libs/admin.jar"
prod:
script: "build/dist/js/productionExecutable/admin.js"
siteRoot: ".kobweb/site"
Funyinoluwa Kashimawo
12/06/2023, 10:26 PMDavid Herman
12/06/2023, 10:58 PMDavid Herman
12/06/2023, 10:59 PMDavid Herman
12/06/2023, 10:59 PMDavid Herman
12/06/2023, 11:00 PMFunyinoluwa Kashimawo
12/06/2023, 11:31 PMDavid Herman
12/07/2023, 4:27 AMDavid Herman
12/07/2023, 4:28 AMFunyinoluwa Kashimawo
12/07/2023, 9:39 AMkobweb export --env dev --layout static
but the export command does not accept the env option.
The use case is for cli's that require a public path to build the site.
The ideal case would be that.
• User wants to build a variant
• User exports the site for a particular variant to a particular path
• the build environment is observable within the codeFunyinoluwa Kashimawo
12/07/2023, 9:41 AMprod
and dev
in conf.yaml because some people might require multiple variants and I don't think that was you plan for that.
I guess what you did is similar to debug
and release
And what I am looking for is more like android flavors.CLOVIS
12/07/2023, 9:48 AMDavid Herman
12/07/2023, 4:31 PMDavid Herman
12/07/2023, 4:31 PMDavid Herman
12/07/2023, 4:34 PMFunyinoluwa Kashimawo
12/07/2023, 6:17 PMFunyinoluwa Kashimawo
12/07/2023, 6:18 PMDavid Herman
12/07/2023, 6:18 PMDavid Herman
12/07/2023, 6:20 PMDavid Herman
12/07/2023, 6:21 PMFunyinoluwa Kashimawo
12/07/2023, 6:27 PMDavid Herman
12/07/2023, 7:54 PMDavid Herman
12/07/2023, 7:55 PMFunyinoluwa Kashimawo
12/07/2023, 10:14 PMkobweb export
command and be able to access the property within the code.David Herman
12/07/2023, 10:15 PMFunyinoluwa Kashimawo
12/07/2023, 10:15 PMFunyinoluwa Kashimawo
12/07/2023, 10:15 PMDavid Herman
12/07/2023, 10:16 PM$ SOME_ENV_VAR=value kobweb export
maybe?Funyinoluwa Kashimawo
12/07/2023, 10:17 PMDavid Herman
12/07/2023, 10:17 PMFunyinoluwa Kashimawo
12/07/2023, 10:18 PMDavid Herman
12/07/2023, 10:18 PMDavid Herman
12/07/2023, 10:18 PMFunyinoluwa Kashimawo
12/07/2023, 10:19 PMFunyinoluwa Kashimawo
12/07/2023, 10:19 PMDavid Herman
12/07/2023, 10:19 PMkobweb export --help
should show you some parameters called --gradle...
David Herman
12/07/2023, 10:19 PMDavid Herman
12/07/2023, 10:21 PMkobweb export --gradle -Pkey=value
or something like thatDavid Herman
12/07/2023, 10:21 PMFunyinoluwa Kashimawo
12/07/2023, 10:37 PM