mirror of https://github.com/go-gitea/gitea.git
deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#7749)
* deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 from 1.2.0 to 1.3.0 * deps: vendor updatespull/7761/head
parent
cd238bc415
commit
52feff5a5c
@ -0,0 +1,3 @@ |
||||
[submodule "core-test"] |
||||
path = core-test |
||||
url = https://github.com/editorconfig/editorconfig-core-test.git |
@ -0,0 +1,14 @@ |
||||
--- |
||||
language: go |
||||
sudo: false |
||||
go: |
||||
- '1.8' |
||||
- '1.9' |
||||
- '1.10' |
||||
go_import_path: gopkg.in/editorconfig/editorconfig-core-go.v1 |
||||
|
||||
install: |
||||
- make installdeps |
||||
|
||||
script: |
||||
- make test |
@ -0,0 +1,25 @@ |
||||
PROJECT_ROOT_DIR := $(CURDIR)
|
||||
SRC := editorconfig.go cmd/editorconfig/main.go
|
||||
|
||||
.PHONY: bin test test-go test-core submodule installdeps |
||||
|
||||
test: test-go test-core |
||||
|
||||
submodule: |
||||
git submodule update --init
|
||||
|
||||
installdeps: |
||||
go get -t ./...
|
||||
|
||||
editorconfig: $(SRC) |
||||
go build ./cmd/editorconfig
|
||||
|
||||
test-go: |
||||
go test -v
|
||||
|
||||
test-core: editorconfig |
||||
cd $(PROJECT_ROOT_DIR)/core-test && \
|
||||
cmake -DEDITORCONFIG_CMD="$(PROJECT_ROOT_DIR)/editorconfig" .
|
||||
# Temporarily disable core-test
|
||||
# cd $(PROJECT_ROOT_DIR)/core-test && \
|
||||
# ctest --output-on-failure .
|
Loading…
Reference in new issue