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