mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-20 00:48:58 +02:00
66e99d722a
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.
19 lines
439 B
Makefile
Vendored
19 lines
439 B
Makefile
Vendored
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 .
|