mirror of
				https://github.com/yggdrasil-network/water.git
				synced 2025-11-04 03:05:10 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			266 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			266 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
.phony: default ci test lint vet gofmt
 | 
						|
 | 
						|
 | 
						|
default:
 | 
						|
	echo 'This make file is for CI.'
 | 
						|
	exit 1
 | 
						|
 | 
						|
ci: test lint vet gofmt
 | 
						|
 | 
						|
test: water.test
 | 
						|
	sudo ./water.test -test.v
 | 
						|
 | 
						|
lint:
 | 
						|
	golint -set_exit_status
 | 
						|
 | 
						|
vet:
 | 
						|
	go vet .
 | 
						|
 | 
						|
gofmt:
 | 
						|
	gofmt -s -e -l .
 | 
						|
 | 
						|
water.test: *.go
 | 
						|
	go test -c
 |