mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
Update Makefile
Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
This commit is contained in:
committed by
Aiden McClelland
parent
f64ee113c5
commit
3c9aff57e4
2
Makefile
2
Makefile
@@ -58,7 +58,7 @@ ui/www: $(UI_SRC) ui/node_modules patch-db/client patch-db/client/dist ui/config
|
||||
ui/config.json:
|
||||
jq '.mocks.enabled = false' ui/config-sample.json > ui/config.json
|
||||
|
||||
config-git-hash: ui/config.json
|
||||
config-git-hash: ui/config.json .git
|
||||
tmp=$(mktemp)
|
||||
jq '.gitHash = "$(shell git rev-parse HEAD)"' ui/config.json > "$tmp" && mv "$tmp" ui/config.json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user