summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Salzman <daniel.salzman@nic.cz>2020-08-05 19:10:10 +0200
committerDaniel Salzman <daniel.salzman@nic.cz>2020-08-06 20:54:16 +0200
commit9aa157c0aadeb816389c54c2240aa55eae198bef (patch)
tree934e16abf3e935b357278864ac041eef68901e6c /scripts
parentkzonesign: renamed from ksignzone (diff)
downloadknot-9aa157c0aadeb816389c54c2240aa55eae198bef.tar.xz
knot-9aa157c0aadeb816389c54c2240aa55eae198bef.zip
scripts: improve update-project-files.py
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-project-files.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/update-project-files.py b/scripts/update-project-files.py
index 004fbb37b..154228228 100755
--- a/scripts/update-project-files.py
+++ b/scripts/update-project-files.py
@@ -10,6 +10,10 @@ SOURCES = [
"tests-fuzz/*.c", "tests-fuzz/*.h",
]
+SOURCES_EXTRA = [
+ "src/libknot/libknot.h"
+]
+
OUTPUT_FILE = "Knot.files"
# ----------------------------------------------------------------------------
@@ -31,7 +35,7 @@ git_root = run(["git", "rev-parse", "--show-toplevel"]).strip()
os.chdir(git_root)
command = ["git", "ls-files"] + SOURCES
-files = run(command).splitlines()
+files = run(command).splitlines() + SOURCES_EXTRA
with open(OUTPUT_FILE, "w") as output:
output.write("\n".join(sorted(files)))