BUILD: add rules to go get all the build deps

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2021-09-01 20:07:52 -05:00
parent e09b563089
commit bc21244e8d
8 changed files with 40 additions and 3 deletions

View File

@ -37,9 +37,15 @@ build:
cd example-bench-fast-timer; go install # time golang channels
cd example-bench-readWriteOps; go install #
# witgoget='-v -t' make prep
# witgoget='-v -t -u' make prep # to update
prep:
make -C example-nohup prep
make -C example-sshd prep
make -C example-expect prep
make -C example-shell prep
make -C example-gocui-mouse prep
make -C example-systray prep
make -C example-lookupAAAA prep
sub-make:
# shell things

View File

@ -18,11 +18,21 @@ on Windows. This is an annoying limitation of how Windows works
This means the Windows version of this GUI will probably always
be sub-par verses the Linux and Macintosh versions
# build
# clone
```
go get -v -t -u git.wit.org/jcarr/golang-examples
```
# prep (download all the golang build dependancies)
```
cd ~/go/src/git.wit.org/jcarr/golang-examples
witgoget='-v -t -u' make prep
```
# build
```
make build
```

5
example-expect/Makefile Normal file
View File

@ -0,0 +1,5 @@
all:
go install
prep:
go get ${witgoget} .

View File

@ -0,0 +1,5 @@
all:
go install
prep:
go get ${witgoget} .

View File

@ -1,3 +1,6 @@
run:
go build
./example-lookupAAAA
prep:
go get ${witgoget} .

View File

@ -2,4 +2,4 @@ all:
go install
prep:
go get -v -t -u .
go get ${witgoget} .

5
example-shell/Makefile Normal file
View File

@ -0,0 +1,5 @@
all:
go install
prep:
go get ${witgoget} .

View File

@ -12,3 +12,6 @@ run:
update:
git pull
go get -v -t -u .
prep:
go get ${witgoget} .