Browse Source

makefile

tags/V1.22.3.1^2
lewis 3 years ago
parent
commit
40798e048e
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      Makefile

+ 1
- 5
Makefile View File

@@ -97,16 +97,12 @@ TAGS ?=
TAGS_SPLIT := $(subst $(COMMA), ,$(TAGS))
TAGS_EVIDENCE := $(MAKE_EVIDENCE_DIR)/tags

ifeq ($(filter $(TAGS_SPLIT),bindata),bindata)
WEBPACK_CONFIGS = webpack_pro.config.js
endif

GO_DIRS := cmd integrations models modules routers build services vendor
GO_SOURCES := $(wildcard *.go)
GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" -not -path modules/options/bindata.go -not -path modules/public/bindata.go -not -path modules/templates/bindata.go)

ifeq ($(filter $(TAGS_SPLIT),bindata),bindata)
GO_SOURCES += $(BINDATA_DEST)
GO_SOURCES += $(BINDATA_DEST)
endif

GO_SOURCES_OWN := $(filter-out vendor/% %/bindata.go, $(GO_SOURCES))


Loading…
Cancel
Save