|
1 | | -#!/bin/bash |
2 | | - |
3 | | -set -euxo pipefail |
4 | | - |
5 | | -startingpath="$(pwd)" |
6 | | -basepath="$(cd "$(dirname "$0")" && pwd)" |
7 | | -cd "$basepath/../Source" |
8 | | - |
9 | | -Sources="actutils.go automaticcomponenttoolkit.go buildbindingccpp.go buildbindingccppdocumentation.go buildbindingcsharp.go buildbindinggo.go buildbindingnode.go buildbindingpascal.go buildbindingpython.go buildbindingjava.go buildimplementationcpp.go buildimplementationpascal.go componentdefinition.go componentdiff.go languagewriter.go languagec.go languagecpp.go languagepascal.go" |
10 | | - |
11 | | -echo "Build act.win64.exe" |
12 | | -export GOARCH="amd64" |
13 | | -export GOOS="windows" |
14 | | -go build -o ../act.win64.exe $Sources |
15 | | - |
16 | | -echo "Build act.win32.exe" |
17 | | -export GOARCH="386" |
18 | | -export GOOS="windows" |
19 | | -go build -o ../act.win32.exe $Sources |
20 | | - |
21 | | -echo "Build act.linux64" |
22 | | -export GOOS="linux" |
23 | | -export GOARCH="amd64" |
24 | | -go build -o ../act.linux64 $Sources |
25 | | -cp ../act.linux64 ../act.linux |
26 | | - |
27 | | -echo "Build act.linux32" |
28 | | -export GOOS="linux" |
29 | | -export GOARCH="386" |
30 | | -go build -o ../act.linux32 $Sources |
31 | | - |
32 | | -echo "Build act.darwin" |
33 | | -export GOOS="darwin" |
34 | | -export GOARCH="amd64" |
35 | | -go build -o ../act.darwin $Sources |
36 | | - |
37 | | -echo "Build act.arm.darwin" |
38 | | -export GOOS="darwin" |
39 | | -export GOARM="5" |
40 | | -export GOARCH="arm64" |
41 | | -go build -o ../act.arm.darwin $Sources |
42 | | - |
43 | | -echo "Build act.arm.linux32" |
44 | | -export GOOS="linux" |
45 | | -export GOARM="5" |
46 | | -export GOARCH="386" |
47 | | -go build -o ../act.arm.linux32 $Sources |
48 | | - |
49 | | -echo "Build act.arm.linux64" |
50 | | -export GOOS="linux" |
51 | | -export GOARCH="arm64" |
52 | | -export GOARM="5" |
53 | | -go build -o ../act.arm.linux64 $Sources |
54 | | - |
55 | | -cd "$startingpath" |
| 1 | +#!/bin/bash |
| 2 | + |
| 3 | +set -euxo pipefail |
| 4 | + |
| 5 | +startingpath="$(pwd)" |
| 6 | +basepath="$(cd "$(dirname "$0")" && pwd)" |
| 7 | +cd "$basepath/../Source" |
| 8 | + |
| 9 | +Sources="actutils.go automaticcomponenttoolkit.go buildbindingccpp.go buildbindingccppdocumentation.go buildbindingcsharp.go buildbindinggo.go buildbindingnode.go buildbindingpascal.go buildbindingpython.go buildbindingjava.go buildimplementationcpp.go buildimplementationpascal.go componentdefinition.go componentdiff.go languagewriter.go languagec.go languagecpp.go languagepascal.go" |
| 10 | + |
| 11 | +echo "Build act.win64.exe" |
| 12 | +export GOARCH="amd64" |
| 13 | +export GOOS="windows" |
| 14 | +go build -o ../act.win64.exe $Sources |
| 15 | + |
| 16 | +echo "Build act.win32.exe" |
| 17 | +export GOARCH="386" |
| 18 | +export GOOS="windows" |
| 19 | +go build -o ../act.win32.exe $Sources |
| 20 | + |
| 21 | +echo "Build act.linux64" |
| 22 | +export GOOS="linux" |
| 23 | +export GOARCH="amd64" |
| 24 | +go build -o ../act.linux64 $Sources |
| 25 | +cp ../act.linux64 ../act.linux |
| 26 | + |
| 27 | +echo "Build act.linux32" |
| 28 | +export GOOS="linux" |
| 29 | +export GOARCH="386" |
| 30 | +go build -o ../act.linux32 $Sources |
| 31 | + |
| 32 | +echo "Build act.darwin" |
| 33 | +export GOOS="darwin" |
| 34 | +export GOARCH="amd64" |
| 35 | +go build -o ../act.darwin $Sources |
| 36 | + |
| 37 | +echo "Build act.arm.darwin" |
| 38 | +export GOOS="darwin" |
| 39 | +export GOARM="5" |
| 40 | +export GOARCH="arm64" |
| 41 | +go build -o ../act.arm.darwin $Sources |
| 42 | + |
| 43 | +echo "Build act.arm.linux32" |
| 44 | +export GOOS="linux" |
| 45 | +export GOARM="5" |
| 46 | +export GOARCH="386" |
| 47 | +go build -o ../act.arm.linux32 $Sources |
| 48 | + |
| 49 | +echo "Build act.arm.linux64" |
| 50 | +export GOOS="linux" |
| 51 | +export GOARCH="arm64" |
| 52 | +export GOARM="5" |
| 53 | +go build -o ../act.arm.linux64 $Sources |
| 54 | + |
| 55 | +cd "$startingpath" |
0 commit comments