make: add a test target
This commit is contained in:
parent
983b7fb4a9
commit
49e09051b1
1 changed files with 11 additions and 1 deletions
12
Makefile
12
Makefile
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
#include $(GOROOT)/src/Make.inc
|
#include $(GOROOT)/src/Make.inc
|
||||||
|
|
||||||
all: install
|
all: install test
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd draw2d && go install
|
cd draw2d && go install
|
||||||
|
@ -15,6 +15,16 @@ build:
|
||||||
cd postscript && go build
|
cd postscript && go build
|
||||||
# cd wingui && make build
|
# cd wingui && make build
|
||||||
|
|
||||||
|
test:
|
||||||
|
#cd cmd && go build draw2dgl.go
|
||||||
|
cd cmd && go build gettingStarted.go
|
||||||
|
cd cmd && go build testandroid.go
|
||||||
|
cd cmd && go build testdraw2d.go
|
||||||
|
cd cmd && go build testgopher.go
|
||||||
|
cd cmd && go build testimage.go
|
||||||
|
cd cmd && go build testpostscript.go
|
||||||
|
#cd cmd && go build testX11draw.go
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd draw2d && go clean
|
cd draw2d && go clean
|
||||||
# cd draw2dgl && make clean
|
# cd draw2dgl && make clean
|
||||||
|
|
Loading…
Reference in a new issue