mirror of
https://github.com/xxnuo/MTranServer.git
synced 2026-09-03 06:35:20 +08:00
Update build.ts
This commit is contained in:
@@ -4,9 +4,8 @@ import pkg from "../package.json";
|
||||
|
||||
const version = pkg.version;
|
||||
const args = new Set(Bun.argv.slice(2));
|
||||
const isDocker = args.has("--docker");
|
||||
const isLib = args.has("--lib");
|
||||
const isNode = args.has("--node") || args.has("--dev") || isDocker;
|
||||
const isNode = args.has("--node") || args.has("--dev");
|
||||
const isSingle = args.has("--single");
|
||||
const isAll = args.has("--all") || (!isLib && !isNode && !isSingle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user