mirror of https://github.com/stashapp/stash.git
Fix build target for Windows. Add UI target
This commit is contained in:
parent
7a3325466d
commit
b6bea6d30d
11
Makefile
11
Makefile
|
@ -1,5 +1,10 @@
|
|||
ifeq ($(OS),Windows_NT)
|
||||
SEPARATOR := &&
|
||||
SET := set
|
||||
endif
|
||||
|
||||
build:
|
||||
CGO_ENABLED=1 packr2 build -mod=vendor -v
|
||||
$(SET) CGO_ENABLED=1 $(SEPARATOR) packr2 build -mod=vendor -v
|
||||
|
||||
install:
|
||||
packr2 install
|
||||
|
@ -26,3 +31,7 @@ vet:
|
|||
.PHONY: lint
|
||||
lint:
|
||||
revive -config revive.toml -exclude ./vendor/... ./...
|
||||
|
||||
.PHONY: ui
|
||||
ui:
|
||||
cd ui/v2 && yarn build
|
||||
|
|
Loading…
Reference in New Issue