style: improve script comments
This commit is contained in:
parent
e0d1a8999e
commit
4363beea8a
|
@ -1,10 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
set -xe
|
||||
|
||||
# remove files that might conflict
|
||||
rm -rf build/ subprojects/blueprint-compiler/
|
||||
# ----------------- variables ------------------
|
||||
|
||||
# variables
|
||||
PROJECT_NAME="my-project"
|
||||
PROJECT_ID="foo.bar.$PROJECT_NAME"
|
||||
RESOURCE_PATH="/foo/bar/$PROJECT_NAME"
|
||||
|
@ -12,6 +10,11 @@ NAMESPACE="MyProject"
|
|||
CNAME="my_project"
|
||||
AUTHOR="author"
|
||||
|
||||
# -------------------- code --------------------
|
||||
|
||||
# remove files that might conflict
|
||||
rm -rf build/ subprojects/blueprint-compiler/
|
||||
|
||||
# rename files
|
||||
mv ./data/{de.thetek.vala-gtk-template,$PROJECT_ID}.appdata.xml.in
|
||||
mv ./data/{de.thetek.vala-gtk-template,$PROJECT_ID}.desktop.in
|
||||
|
|
Loading…
Reference in New Issue