build system
This commit is contained in:
parent
33a13cb1cc
commit
5730c94552
10 changed files with 32023 additions and 19272 deletions
|
|
@ -14,8 +14,8 @@ if (!fs.existsSync(".gitignore")) {
|
|||
export const config: Config = require(path.resolve(process.cwd(), "asajs.config.cjs")).config
|
||||
|
||||
export let isBuildMode = config.compiler?.enabled ?? false
|
||||
export let isLinkMode = config.compiler?.linked ?? false
|
||||
export let unLinked = !(config.compiler?.linked ?? true)
|
||||
export let isLinkMode = config.compiler?.autoImport ?? false
|
||||
export let unLinked = !(config.compiler?.autoImport ?? true)
|
||||
|
||||
for (const arg of process.argv) {
|
||||
if (arg === "--build") isBuildMode = true
|
||||
|
|
|
|||
Reference in a new issue