aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rw-r--r--hooks/pre_gen_project.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/hooks/pre_gen_project.py b/hooks/pre_gen_project.py
new file mode 100644
index 0000000..258ec53
--- /dev/null
+++ b/hooks/pre_gen_project.py
@@ -0,0 +1,3 @@
+if '-' in shortname:
+ print('ERROR: Project shortname cannot contain dashes, please use underscores')
+ sys.exit(1)