Adding upstream version 2.6.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
4d8cd0ce4c
commit
2b08a89310
39 changed files with 2140 additions and 0 deletions
35
Makefile
Normal file
35
Makefile
Normal file
|
@ -0,0 +1,35 @@
|
|||
PROJECT_ROOT_DIR := $(CURDIR)
|
||||
SRC := $(shell git ls-files *.go */*.go)
|
||||
|
||||
.PHONY: bin test test-go test-core test-skipped submodule
|
||||
|
||||
test: test-go test-core
|
||||
|
||||
submodule:
|
||||
git submodule update --init
|
||||
|
||||
editorconfig: $(SRC)
|
||||
go build \
|
||||
-ldflags "-X main.version=1.99.99" \
|
||||
github.com/editorconfig/editorconfig-core-go/v2/cmd/editorconfig
|
||||
|
||||
test-go:
|
||||
go test -v ./...
|
||||
|
||||
test-core: editorconfig
|
||||
cd core-test; \
|
||||
cmake ..
|
||||
cd core-test; \
|
||||
ctest \
|
||||
-E "^(octothorpe_in_value|(backslashed_)*semicolon_or_hash_in_property)$$" \
|
||||
--output-on-failure \
|
||||
.
|
||||
|
||||
test-skipped: editorconfig
|
||||
cd core-test; \
|
||||
cmake ..
|
||||
cd core-test; \
|
||||
ctest \
|
||||
-R "^(octothorpe_in_value)$$" \
|
||||
--show-only \
|
||||
.
|
Loading…
Add table
Add a link
Reference in a new issue