1
0
Fork 0

style: improve script comments

This commit is contained in:
thetek 2023-05-01 13:09:11 +02:00
parent e0d1a8999e
commit 4363beea8a
1 changed files with 6 additions and 3 deletions

View File

@ -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