diff options
| author | 2025-02-14 16:54:10 +0000 | |
|---|---|---|
| committer | 2025-02-14 16:54:10 +0000 | |
| commit | ebbdeee0bb91d5008a405e43114f1653ecdf8ce8 (patch) | |
| tree | d9b1c087a34e6f5947d553f7cb04503b3c411e93 /vendor/modernc.org/libc/Makefile | |
| parent | [bugfix] Drop status indices AFTER updating visibility (#3795) (diff) | |
| download | gotosocial-ebbdeee0bb91d5008a405e43114f1653ecdf8ce8.tar.xz | |
bump modernc.org/sqlite to v1.35.0-concurrency-workaround (#3797)
Diffstat (limited to 'vendor/modernc.org/libc/Makefile')
| -rw-r--r-- | vendor/modernc.org/libc/Makefile | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/vendor/modernc.org/libc/Makefile b/vendor/modernc.org/libc/Makefile index 2323d873d..a2ff9dacb 100644 --- a/vendor/modernc.org/libc/Makefile +++ b/vendor/modernc.org/libc/Makefile @@ -32,36 +32,30 @@ download: @if [ ! -f $(TAR) ]; then wget $(URL) ; fi edit: - @touch log @if [ -f "Session.vim" ]; then novim -S & else novim -p Makefile go.mod builder.json & fi editor: - gofmt -l -s -w *.go 2>&1 | tee log-editor - go test -c -o /dev/null 2>&1 | tee -a log-editor - go install -v 2>&1 | tee -a log-editor + gofmt -l -s -w *.go + go test -c -o /dev/null + go install -v go build -o /dev/null generator*.go generate: download mkdir -p $(DIR) || true rm -rf $(DIR)/* - GO_GENERATE_DIR=$(DIR) go run generator*.go 2>&1 | tee log-generate + GO_GENERATE_DIR=$(DIR) go run generator*.go go build -v - # go install github.com/mdempsky/unconvert@latest - go build -v 2>&1 | tee -a log-generate - go test -v -short -count=1 ./... | tee -a log-generate - git status | tee -a log-generate - grep 'TRC\|TODO\|ERRORF\|FAIL' log-generate || true + go test -v -short -count=1 ./... + git status dev: download mkdir -p $(DIR) || true rm -rf $(DIR)/* echo -n > /tmp/ccgo.log - GO_GENERATE_DIR=$(DIR) GO_GENERATE_DEV=1 go run -tags=ccgo.dmesg,ccgo.assert generator*.go 2>&1 | tee log-generate - go build -v | tee -a log-generate - go test -v -short -count=1 ./... | tee -a log-generate - git status | tee -a log-generate - grep 'TRC\|TODO\|ERRORF\|FAIL' log-generate || true - grep 'TRC\|TODO\|ERRORF\|FAIL' /tmp/ccgo.log || true + GO_GENERATE_DIR=$(DIR) GO_GENERATE_DEV=1 go run -tags=ccgo.dmesg,ccgo.assert generator*.go + go build -v + go test -v -short -count=1 ./... + git status membrk-test: echo -n > /tmp/ccgo.log @@ -71,10 +65,7 @@ membrk-test: grep -a 'TRC\|TODO\|ERRORF\|FAIL' log-test || true 2>&1 | tee -a log-test test: - echo -n > /tmp/ccgo.log - touch log-test - cp log-test log-test0 - go test -v -timeout 24h -count=1 2>&1 | tee log-test + go test -v -timeout 24h -count=1 short-test: echo -n > /tmp/ccgo.log |
