File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,5 @@ cflags.txt
77cxxflags.txt
88includes.txt
99provides.ld
10+ cores /arduino /api
11+ /extra /zephyr-sketch-tool /distrib
Original file line number Diff line number Diff line change 1+ VERSION=$1
2+
3+ mkdir -p distrib/linux_amd64
4+ GOOS=linux GOARCH=amd64 go build && mv zephyr-sketch-tool distrib/linux_amd64/zephyr-sketch-tool
5+
6+ mkdir -p distrib/linux_arm64
7+ GOOS=linux GOARCH=arm64 go build && mv zephyr-sketch-tool distrib/linux_arm64/zephyr-sketch-tool
8+
9+ mkdir -p distrib/macos_amd64
10+ GOOS=darwin GOARCH=amd64 go build && mv zephyr-sketch-tool distrib/macos_amd64/zephyr-sketch-tool
11+
12+ mkdir -p distrib/windows_386
13+ GOOS=windows GOARCH=386 go build && mv zephyr-sketch-tool* distrib/windows_386/zephyr-sketch-tool.exe
14+
15+ cd distrib
16+
17+ tar -czf zephyr-sketch-tool-${VERSION} -linux_amd64.tar.gz linux_amd64
18+ tar -czf zephyr-sketch-tool-${VERSION} -linux_arm64.tar.gz linux_arm64
19+ tar -czf zephyr-sketch-tool-${VERSION} -macos_amd64.tar.gz macos_amd64
20+ zip -r zephyr-sketch-tool-${VERSION} -windows_386.zip windows_386
You can’t perform that action at this time.
0 commit comments