1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-12 20:27:30 +08:00

Add check for testing against the release version of Go

This commit is contained in:
Robert Krimen 2013-05-05 10:19:18 -07:00
parent 696272f7d6
commit 2e20275e07

View File

@ -1,4 +1,4 @@
.PHONY: test assets todo fixme otto run test-all release test-synopsis test-i test262
.PHONY: test assets todo fixme otto run test-all release test-synopsis test-i test262 check
.PHONY: underscore
TEST := -v --run
@ -29,9 +29,12 @@ run:
test-all: test-i
go test .
release: test-all test-synopsis
release: check test-all test-synopsis
for package in . underscore registry; do (cd $$package && godocdown --signature > README.markdown); done
check:
GOROOT= $(HOME)/go/release/bin/go test -a .
test-synopsis: .test test-i otto
$(MAKE) -C .test/synopsis