tools.aw_id

Yohn Y. 2023-08-19 Child:c5a3039be65e

0:1a48eceb43e7 Go to Latest

tools.aw_id/make.sh

..init

History
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/make.sh	Sat Aug 19 21:25:07 2023 +0300
     1.3 @@ -0,0 +1,15 @@
     1.4 +#!/bin/sh
     1.5 +my_path="$(readlink -f "$0")"
     1.6 +app_dir="$(dirname "$my_path")"
     1.7 +
     1.8 +src="$app_dir/src"
     1.9 +res="$app_dir/builds"
    1.10 +
    1.11 +mkdir -p "$res"
    1.12 +
    1.13 +alias build='go build -v -x'
    1.14 +
    1.15 +cd "$src"
    1.16 +go fmt
    1.17 +build -o "$res/aw_id"
    1.18 +GOOS=windows GOARCH=amd64 build -o "$res/aw_id.exe"