BUILD: add rules to go get all the build deps
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
e09b563089
commit
bc21244e8d
8
Makefile
8
Makefile
|
@ -37,9 +37,15 @@ build:
|
||||||
cd example-bench-fast-timer; go install # time golang channels
|
cd example-bench-fast-timer; go install # time golang channels
|
||||||
cd example-bench-readWriteOps; go install #
|
cd example-bench-readWriteOps; go install #
|
||||||
|
|
||||||
|
# witgoget='-v -t' make prep
|
||||||
|
# witgoget='-v -t -u' make prep # to update
|
||||||
prep:
|
prep:
|
||||||
make -C example-nohup 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:
|
sub-make:
|
||||||
# shell things
|
# shell things
|
||||||
|
|
12
README.md
12
README.md
|
@ -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
|
This means the Windows version of this GUI will probably always
|
||||||
be sub-par verses the Linux and Macintosh versions
|
be sub-par verses the Linux and Macintosh versions
|
||||||
|
|
||||||
# build
|
# clone
|
||||||
|
|
||||||
```
|
```
|
||||||
go get -v -t -u git.wit.org/jcarr/golang-examples
|
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
|
cd ~/go/src/git.wit.org/jcarr/golang-examples
|
||||||
|
witgoget='-v -t -u' make prep
|
||||||
|
```
|
||||||
|
|
||||||
|
# build
|
||||||
|
```
|
||||||
make build
|
make build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
all:
|
||||||
|
go install
|
||||||
|
|
||||||
|
prep:
|
||||||
|
go get ${witgoget} .
|
|
@ -0,0 +1,5 @@
|
||||||
|
all:
|
||||||
|
go install
|
||||||
|
|
||||||
|
prep:
|
||||||
|
go get ${witgoget} .
|
|
@ -1,3 +1,6 @@
|
||||||
run:
|
run:
|
||||||
go build
|
go build
|
||||||
./example-lookupAAAA
|
./example-lookupAAAA
|
||||||
|
|
||||||
|
prep:
|
||||||
|
go get ${witgoget} .
|
||||||
|
|
|
@ -2,4 +2,4 @@ all:
|
||||||
go install
|
go install
|
||||||
|
|
||||||
prep:
|
prep:
|
||||||
go get -v -t -u .
|
go get ${witgoget} .
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
all:
|
||||||
|
go install
|
||||||
|
|
||||||
|
prep:
|
||||||
|
go get ${witgoget} .
|
|
@ -12,3 +12,6 @@ run:
|
||||||
update:
|
update:
|
||||||
git pull
|
git pull
|
||||||
go get -v -t -u .
|
go get -v -t -u .
|
||||||
|
|
||||||
|
prep:
|
||||||
|
go get ${witgoget} .
|
||||||
|
|
Loading…
Reference in New Issue