1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-02 17:35:49 +00:00
gitea/vendor/github.com/editorconfig/editorconfig-core-go/v2/Makefile
Colin Arnott 66e99d722a upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#8501)
editorconfig-core-go made breaking api changes and has recently released
v2.1.1. This change consumes the new api and fixes up any breaking
references.
2019-10-15 22:24:16 +01:00

20 lines
439 B
Makefile

PROJECT_ROOT_DIR := $(CURDIR)
SRC := $(shell git ls-files *.go */*.go)
.PHONY: bin test test-go test-core submodule
test: test-go test-core
submodule:
git submodule update --init
editorconfig: $(SRC)
go build ./cmd/editorconfig
test-go:
go test -v ./...
test-core: editorconfig
cd core-test; cmake ..
cd core-test; ctest -E "(comments_after_section|octothorpe|unset_|_pre_0.9.0|max_|root_file_mixed_case)" --output-on-failure .