mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-23 20:57:29 +02:00
* deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 from 1.2.0 to 1.3.0 * deps: vendor updates
26 lines
539 B
Makefile
26 lines
539 B
Makefile
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 .
|