diff options
-rw-r--r-- | .build | 2 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/index.ts | 2 | ||||
-rw-r--r-- | src/wing/WingMetadata.ts | 2 |
4 files changed, 5 insertions, 3 deletions
@@ -1 +1 @@ -9.5.20221206
\ No newline at end of file +9.7.20221206
\ No newline at end of file diff --git a/package.json b/package.json index 10bcad9..d68b31e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "compile": "npm run compile-debug", "compile-debug": "cp src/index.ts src/.index.ts.bak && cd src && node version.js && node debug.js && cd .. && tsc -p ./tsconfig.json && cp -r node_modules dist && cp -r src/sourcegen.js dist && cp -r src/operators dist && cp -r src/functions dist && cp -r src/modules dist && cp -r src/conditions dist && cd dist && node sourcegen.js && cd .. && rm src/index.ts && mv src/.index.ts.bak src/index.ts", "compile-release": "cp src/index.ts src/.index.ts.bak && cd src && node version.js && node release.js && cd .. && tsc -p ./tsconfig.json && cp -r node_modules dist && cp -r src/sourcegen.js dist && cp -r src/operators dist && cp -r src/functions dist && cp -r src/modules dist && cp -r src/conditions dist && cd dist && node sourcegen.js && cd .. && rm src/index.ts && mv src/.index.ts.bak src/index.ts", - "debug": "npm run compile-debug && cd dist && pkg -t node18-macos-arm64 --public --no-bytecode -o ../bin/wing-debug-mac-arm64 -C GZip index.js", + "debug": "npm run compile-debug && cd dist && pkg -t node18-macos-arm64 --public --no-bytecode -o ../bin/wing-debug-mac-arm64 -C GZip index.js && cp ../bin/wing-debug-mac-arm64 $HOME/bin/wing", "build": "npm run build-debug && npm run build-release", "build-debug": "npm run compile-debug && cd dist && pkg -t node18-linux-arm64 --public --no-bytecode -o ../bin/wing-debug-linux-glibc-arm64 -C GZip index.js && pkg -t node18-linux-x64 --public --no-bytecode -o ../bin/wing-debug-linux-glibc-x64 -C GZip index.js && pkg -t node18-linuxstatic-arm64 --public --no-bytecode -o ../bin/wing-debug-linux-arm64 -C GZip index.js && pkg -t node18-linuxstatic-x64 --public --no-bytecode -o ../bin/wing-debug-linux-x64 -C GZip index.js && pkg -t node18-alpine-arm64 --public --no-bytecode -o ../bin/wing-debug-linux-musl-arm64 -C GZip index.js && pkg -t node18-alpine-x64 --public --no-bytecode -o ../bin/wing-debug-linux-musl-x64 -C GZip index.js && pkg -t node18-win-arm64 --public --no-bytecode -o ../bin/wing-debug-win32-arm64 -C GZip index.js && pkg -t node18-win-x64 --public --no-bytecode -o ../bin/wing-debug-win32-x64 -C GZip index.js && pkg -t node18-macos-arm64 --public --no-bytecode -o ../bin/wing-debug-mac-arm64 -C GZip index.js && pkg -t node18-mac-x64 --public --no-bytecode -o ../bin/wing-debug-mac-x64 -C GZip index.js", "build-release": "npm run compile-release && cd dist && pkg -t node18-linux-arm64 -o ../bin/wing-release-linux-glibc-arm64 -C GZip index.js && pkg -t node18-linux-x64 -o ../bin/wing-release-linux-glibc-x64 -C GZip index.js && pkg -t node18-linuxstatic-arm64 -o ../bin/wing-release-linux-arm64 -C GZip index.js && pkg -t node18-linuxstatic-x64 -o ../bin/wing-release-linux-x64 -C GZip index.js && pkg -t node18-alpine-arm64 -o ../bin/wing-release-linux-musl-arm64 -C GZip index.js && pkg -t node18-alpine-x64 -o ../bin/wing-release-linux-musl-x64 -C GZip index.js && pkg -t node18-win-arm64 -o ../bin/wing-release-win32-arm64 -C GZip index.js && pkg -t node18-win-x64 -o ../bin/wing-release-win32-x64 -C GZip index.js && pkg -t node18-macos-arm64 -o ../bin/wing-release-mac-arm64 -C GZip index.js && pkg -t node18-mac-x64 -o ../bin/wing-release-mac-x64 -C GZip index.js" diff --git a/src/index.ts b/src/index.ts index cc0ced4..8e5a057 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,6 +5,8 @@ import WingFileLoader from "./wing/WingFileLoader"; import WingAPI from "./wing/WingAPI"; global.version = "next"; +global.codename = "Winter Wishday"; + global.advancedBuild = "%%V"; global.build = "%BUILD:dev%"; global.debugBuild = true; diff --git a/src/wing/WingMetadata.ts b/src/wing/WingMetadata.ts index 26e27a6..9248433 100644 --- a/src/wing/WingMetadata.ts +++ b/src/wing/WingMetadata.ts @@ -4,7 +4,7 @@ import WingParameters from "./WingParameters"; export default class WingMetadata extends Wing { constructor() { if (WingParameters.get("version")) { - console.log("Wing " + global.version + " (build " + global.build.replace(/^(%BUILD:)(.*)(%)$/gm, "$2") + "." + (global.debugBuild ? "debug" : "release") + "." + global.advancedBuild + "; " + global.buildDate + ")"); + console.log("Wing " + global.version + " \"" + global.codename + "\" (build " + global.build.replace(/^(%BUILD:)(.*)(%)$/gm, "$2") + "." + (global.debugBuild ? "debug" : "release") + "." + global.advancedBuild + "; " + global.buildDate + ")"); process.exit(); } |