forked from ianfab/fairyground
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change pkg to an update-to-date fork & Fix dependency issues in relea…
…se maker Signed-off-by: yjf2002ghty <[email protected]>
- Loading branch information
1 parent
b30d334
commit bdd0fec
Showing
5 changed files
with
297 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ function Error() { | |
exit 1 | ||
} | ||
|
||
export nodeversion="node18" | ||
export nodeversion="node20" | ||
|
||
echo "" | ||
echo "[Info] Continuous integration platform specification:" | ||
|
@@ -63,7 +63,7 @@ mkdir -p ./release-builds/script/any | |
|
||
npm install || Error | ||
cp -r ./node_modules ./node_modules_script | ||
npm install pkg || Error | ||
npm install @yao-pkg/[email protected] || Error | ||
|
||
function TryNoByteCode() { | ||
npx pkg . --no-bytecode --public --public-packages --target $1 --output $2 >/tmp/make_fairyground.log 2>&1 | ||
|
@@ -126,6 +126,7 @@ npm run build || Error | |
|
||
rm -f ./public/vercel.json | ||
rm -f ./public/serve.json | ||
rm -f ./public/_headers | ||
find ./public -type f -name "original.*" -exec rm -f {} \; | ||
|
||
cp -r ./public ./release_make/release-builds/win/x64/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ function Error() { | |
exit 1 | ||
} | ||
|
||
export nodeversion="node18" | ||
export nodeversion="node20" | ||
|
||
if [ -d "./node_modules" ]; then | ||
echo | ||
|
@@ -43,7 +43,7 @@ mkdir -p ./release-builds/macos/x64 | |
mkdir -p ./release-builds/macos/arm64 | ||
mkdir -p ./release-builds/script/any | ||
|
||
npm install pkg || Error | ||
npm install @yao-pkg/[email protected] || Error | ||
|
||
function TryNoByteCode() { | ||
npx pkg . --no-bytecode --public --public-packages --target $1 --output $2 >/tmp/make_fairyground.log 2>&1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ function Error() { | |
exit 1 | ||
} | ||
|
||
export nodeversion="node18" | ||
export nodeversion="node20" | ||
|
||
if [ -d "./node_modules" ]; then | ||
echo | ||
|
@@ -43,7 +43,7 @@ mkdir -p ./release-builds/macos/x64 | |
mkdir -p ./release-builds/macos/arm64 | ||
mkdir -p ./release-builds/script/any | ||
|
||
npm install pkg || Error | ||
npm install @yao-pkg/[email protected] || Error | ||
|
||
function TryNoByteCode() { | ||
npx pkg . --no-bytecode --public --public-packages --target $1 --output $2 >/tmp/make_fairyground.log 2>&1 | ||
|
Oops, something went wrong.