mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-18 10:33:24 +02:00
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.
20 lines
439 B
Makefile
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 .
|