From 3c918be011af0e15584099a25e76af0f16ccb007 Mon Sep 17 00:00:00 2001 From: Bob Wen Date: Thu, 4 Nov 2021 14:57:14 +0800 Subject: [PATCH] add build scripts for arm7l --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5ae1c51..0efcd4e 100644 --- a/package.json +++ b/package.json @@ -30,14 +30,16 @@ "b-win-x64": "npm run b -- -t windows-x64-14.17.0 -o dists/htpdate-windows-x64.exe", "b-linux-x64": "npm run b -- -t linux-x64-14.15.3 -o dists/htpdate-linux-x64", "b-linux-arm64": "npm run b -- -t linux-arm64-14.15.4 -o dists/htpdate-linux-arm64", + "b-linux-arm7l": "npm run b -- -t linux-arm7l-14.18.1 -o dists/htpdate-linux-arm7l", "b-mac-x64": "npm run b -- -t mac-x64-14.15.3 -o dists/htpdate-mac-x64", - "b-all": "npm run b-win-x86 && npm run b-win-x64 && npm run b-linux-x64 && npm run b-linux-arm64 && npm run b-mac-x64", + "b-all": "npm run b-win-x86 && npm run b-win-x64 && npm run b-linux-x64 && npm run b-linux-arm64 && b-linux-arm7l && npm run b-mac-x64", "c-win-x86": "cd dists && cp htpdate-windows-x86.exe htpdate.exe && 7z a htpdate-windows-x86.7z htpdate.exe && rm -rf htpdate.exe", "c-win-x64": "cd dists && cp htpdate-windows-x64.exe htpdate.exe && 7z a htpdate-windows-x64.7z htpdate.exe && rm -rf htpdate.exe", "c-linux-x64": "cd dists && cp htpdate-linux-x64 htpdate && 7z a htpdate-linux-x64.7z htpdate && rm -rf htpdate", "c-linux-arm64": "cd dists && cp htpdate-linux-arm64 htpdate && 7z a htpdate-linux-arm64.7z htpdate && rm -rf htpdate", + "c-linux-arm7l": "cd dists && cp htpdate-linux-arm7l htpdate && 7z a htpdate-linux-arm7l.7z htpdate && rm -rf htpdate", "c-mac-x64": "cd dists && cp htpdate-mac-x64 htpdate && 7z a htpdate-mac-x64.7z htpdate && rm -rf htpdate", - "compress": "npm run c-win-x86 && npm run c-win-x64 && npm run c-linux-x64 && npm run c-linux-arm64 && npm run c-mac-x64", + "compress": "npm run c-win-x86 && npm run c-win-x64 && npm run c-linux-x64 && npm run c-linux-arm64 && npm run c-linux-arm7l && npm run c-mac-x64", "build": "npm run compile && npm run b-all && npm run clean", "test": "npx coffee index.coffee www.pool.ntp.org" },