Skip to content
Snippets Groups Projects
Commit 4a03da4c authored by ezsh's avatar ezsh
Browse files

Fix git hash injecting

parent 0a4de111
No related branches found
No related tags found
No related merge requests found
......@@ -36,12 +36,12 @@ bin/%.html: bin/tmp
bin/fc.js: bin/
devTools/concatFiles.sh js/ '*.js' $@
bin/tmp: bin/fc.js src/gui/mainMenu/AlphaDisclaimer.tw
bin/tmp: bin/fc.js injectGitCommitHash
$(TWEEGO) --module=bin/fc.js --head devTools/head.html src/ > $@
rm -f bin/fc.js
src/gui/mainMenu/AlphaDisclaimer.tw:
sed -Ei "s/build: .releaseID/\0 commit $(COMMIT)/" $@
injectGitCommitHash:
sed -Ei "s/build: .releaseID/\0, commit $(COMMIT)/" src/gui/mainMenu/AlphaDisclaimer.tw
bin/:
mkdir -p $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment