Repositories
Help
tools.go_host
Commits
Files
Yohn Y.
2020-12-23
Child:
ed90414559b7
1:75309599b04f
Go to Latest
tools.go_host/_build/make.sh
+ Сортировка вывода
Download raw file
View source
Diff to previous
Annotate
History
Loading...
1
#!/bin/sh
2
my_path
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
3
app_dir
=
"
$(
dirname
"
$my_path
"
)
"
4
5
src
=
"
$app_dir
/src"
6
res
=
"
$app_dir
/builded_bins"
7
8
mkdir
-p
"
$res
"
9
10
build
()
{
11
go
build
-o
"
$1
"
-v
-x
12
}
13
14
cd
"
$src
"
15
go
fmt
16
build
"
$res
/host"
17
GOOS
=
windows
GOARCH
=
amd64
build
"
$res
/host.exe"