| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- # Copyright 2024 The tcl9.0-go Authors. All rights reserved.
- # Use of this source code is governed by a BSD-style
- # license that can be found in the LICENSE file.
- .PHONY: all clean edit editor test work
- all: editor
- golint 2>&1
- staticcheck 2>&1
- build_all_targets:
- ./build_all_targets.sh
- echo done
- clean:
- rm -f log-* cpu.test mem.test *.out go.work*
- go clean
- edit:
- @touch log
- @if [ -f "Session.vim" ]; then gvim -S & else gvim -p Makefile all_test.go go.mod builder.json tcl.go & fi
- editor:
- gofmt -l -s -w .
- go test -c -o /dev/null ./...
- go build -v -o /dev/null ./...
- test:
- go test -v -timeout 24h -count=1
- work:
- rm -f go.work*
- go work init
- go work use .
- go work use ../cc/v4
- go work use ../ccgo/v3
- go work use ../ccgo/v4
- go work use ../libc
- go work use ../libtcl9.0
- go work use ../libz
|