github.com/cznic/mathutil@v0.0.0-20181122101859-297441e03548/mersenne/Makefile (about)

     1  # Copyright (c) 2014 The mersenne Authors. All rights reserved.
     2  # Use of this source code is governed by a BSD-style
     3  # license that can be found in the LICENSE file.
     4  
     5  all: editor
     6  	go build
     7  	go vet
     8  	golint .
     9  	go install
    10  	make todo
    11  
    12  editor:
    13  	go fmt
    14  	go test -i
    15  	go test
    16  
    17  todo:
    18  	@grep -n ^[[:space:]]*_[[:space:]]*=[[:space:]][[:alnum:]] *.go || true
    19  	@grep -n TODO *.go || true
    20  	@grep -n FIXME *.go || true
    21  	@grep -n BUG *.go || true
    22  
    23  clean:
    24  	rm -f *~