github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/text/unicode/norm/Makefile (about)

     1  # Copyright 2011 The Go 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  maketables: maketables.go triegen.go
     6  	go build $^
     7  
     8  normregtest: normregtest.go
     9  	go build $^
    10  
    11  tables:	maketables
    12  	./maketables > tables.go
    13  	gofmt -w tables.go
    14  
    15  # Downloads from www.unicode.org, so not part
    16  # of standard test scripts.
    17  test: testtables regtest
    18  
    19  testtables: maketables
    20  	./maketables -test > data_test.go && go test -tags=test
    21  
    22  regtest: normregtest
    23  	./normregtest