diff semicongine/core/buildconfig.nim @ 899:ad961543994b

did: refactor and improve packaging API
author Sam <sam@basx.dev>
date Wed, 14 Feb 2024 21:58:43 +0700
parents 3ba17a9b0c01
children c66503386e8b
line wrap: on
line diff
--- a/semicongine/core/buildconfig.nim	Sun Feb 11 19:26:07 2024 +0700
+++ b/semicongine/core/buildconfig.nim	Wed Feb 14 21:58:43 2024 +0700
@@ -46,6 +46,6 @@
 const ENGINE_LOGLEVEL* = parseEnum[Level](LOGLEVEL)
 
 # resource bundleing settings, need to be configured per project
-const BUNDLETYPE* {.strdefine.}: string = "" # dir, zip, exe
+const PACKAGETYPE* {.strdefine.}: string = "" # dir, zip, exe
 static:
-  assert BUNDLETYPE in ["dir", "zip", "exe"], ENGINENAME & " requires one of -d:BUNDLETYPE=dir -d:BUNDLETYPE=zip -d:BUNDLETYPE=exe"
+  assert PACKAGETYPE in ["dir", "zip", "exe"], ENGINENAME & " requires one of -d:PACKAGETYPE=dir -d:PACKAGETYPE=zip -d:PACKAGETYPE=exe"