mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
add pre-ui to default make target and update documentation (#3030)
Without `pre-ui`, `make` fails. `pre-ui` is already used in the GitHub workflows but omitted from the Makefile and docs.
This commit is contained in:
parent
02c2ad3f58
commit
3ac3fe09b8
2 changed files with 5 additions and 4 deletions
2
Makefile
2
Makefile
|
|
@ -31,7 +31,7 @@ export CGO_ENABLED = 1
|
||||||
|
|
||||||
.PHONY: release pre-build
|
.PHONY: release pre-build
|
||||||
|
|
||||||
release: generate ui build-release
|
release: pre-ui generate ui build-release
|
||||||
|
|
||||||
pre-build:
|
pre-build:
|
||||||
ifndef BUILD_DATE
|
ifndef BUILD_DATE
|
||||||
|
|
|
||||||
|
|
@ -43,9 +43,10 @@ NOTE: The `make` command in Windows will be `mingw32-make` with MingW. For examp
|
||||||
|
|
||||||
## Building a release
|
## Building a release
|
||||||
|
|
||||||
1. Run `make generate` to create generated files
|
1. Run `make pre-ui` to install UI dependencies
|
||||||
2. Run `make ui` to compile the frontend
|
2. Run `make generate` to create generated files
|
||||||
3. Run `make build` to build the executable for your current platform
|
3. Run `make ui` to compile the frontend
|
||||||
|
4. Run `make build` to build the executable for your current platform
|
||||||
|
|
||||||
## Cross compiling
|
## Cross compiling
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue