diff options
| author | Shulhan <ms@kilabit.info> | 2025-01-06 18:13:00 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-01-07 00:13:55 +0700 |
| commit | 6593f4d2069790c73595f14b3312a8d83e61760e (patch) | |
| tree | 6020cffbe816201e27024262698d3525b5da1abd | |
| parent | 4a4ed2dce4ea4d9448d5aa03ea4040af202d2520 (diff) | |
| download | ciigo-6593f4d2069790c73595f14b3312a8d83e61760e.tar.xz | |
all: run task "test" after "lint" and "build"
Task for "lint" and "build" is much more faster than "test".
So if we lint or build failed, we did not waste too much times waiting
for all tests to pass.
While at it, remove linter "revive" we will use the standard linters
from Go tools itself.
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,12 +7,12 @@ VERSION:=$(shell git describe --tags) LDFLAGS:=-ldflags "-s -w -X 'git.sr.ht/~shulhan/ciigo.Version=$(VERSION)'" DIR_BUILD:=_bin -all: test lint build +all: lint build test lint: -fieldalignment ./... -shadow ./... - -revive ./... + go vet ./... test: find ./testdata -name "*.html" -delete |
