File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 77 @echo -e " \e[96mBuilding the \e[94mUser Interface\e[39m"
88 @cd webserver && statik -src=public -f 1> /dev/null
99 @mkdir -p bin
10- @mkdir -p bin/config
1110 @export GHW_DISABLE_WARNINGS=1
1211 @cp -f config.json bin/config.json
1312 @echo -e " \e[96mBuilding \e[93mthe source\e[39m"
1413 @go build -o bin/lwnsimulator cmd/main.go
1514 @echo -e " \e[92mBuild Complete\e[39m"
1615
16+ build-platform :
17+ @echo -e " \e[96mBuilding the \e[95mLWN Simulator (${SUFFIX} )\e[39m"
18+ @echo -e " \e[96mBuilding the \e[94mUser Interface\e[39m"
19+ @cd webserver && statik -src=public -f 1> /dev/null
20+ @mkdir -p bin
21+ @export GHW_DISABLE_WARNINGS=1
22+ @cp -f config.json bin/config.json
23+ @echo -e " \e[96mBuilding \e[93mthe source\e[39m"
24+ @go build -o bin/lwnsimulator${SUFFIX} cmd/main.go
25+ @echo -e " \e[92mBuild Complete\e[39m"
26+
27+ build-x64 :
28+ @make build-platform GOOS=linux GOARCH=amd64 SUFFIX=" _x64"
29+
30+ build-x86 :
31+ @make build-platform GOOS=linux GOARCH=386 SUFFIX=" _x86"
32+
1733run :
1834 @go run cmd/main.go
1935
You can’t perform that action at this time.
0 commit comments