tools.aw_id

Yohn Y. 2023-08-19 Parent:1a48eceb43e7 Child:895fe3defd26

1:c5a3039be65e Go to Latest

tools.aw_id/make.sh

.

History
     1.1 --- a/make.sh	Sat Aug 19 21:25:07 2023 +0300
     1.2 +++ b/make.sh	Sat Aug 19 21:33:07 2023 +0300
     1.3 @@ -1,7 +1,10 @@
     1.4  #!/bin/sh
     1.5 +# VAR:
     1.6 +app_name="aw_id"
     1.7 +
     1.8 +# ---
     1.9  my_path="$(readlink -f "$0")"
    1.10  app_dir="$(dirname "$my_path")"
    1.11 -
    1.12  src="$app_dir/src"
    1.13  res="$app_dir/builds"
    1.14  
    1.15 @@ -11,5 +14,5 @@
    1.16  
    1.17  cd "$src"
    1.18  go fmt
    1.19 -build -o "$res/aw_id"
    1.20 -GOOS=windows GOARCH=amd64 build -o "$res/aw_id.exe"
    1.21 +build -o "${res}/${app_name}"
    1.22 +GOOS=windows GOARCH=amd64 build -o "${res}/${app_name}.exe"