summaryrefslogtreecommitdiff
path: root/actions.sh
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-22 15:39:00 +0200
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-22 15:39:00 +0200
commit1f11775ff8ea42ac1d9c8d1e54628a9e5935d18d (patch)
tree59923d8b8c00a350f7f30c8bbdd53d34276b5b45 /actions.sh
parent6ed400461bb2429a5818c58a0a5b92f555700edc (diff)
improved build process
Diffstat (limited to 'actions.sh')
-rwxr-xr-xactions.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/actions.sh b/actions.sh
index 400feae..2c37cc2 100755
--- a/actions.sh
+++ b/actions.sh
@@ -12,6 +12,14 @@ install () {
make install
}
+help_text="$help_text dist\t[]\tcreate a source distribution\n"
+dist () {
+ perl Makefile.PL
+ make
+ make test
+ make dist
+}
+
help_text="$help_text run_tests\t[arg]\tpasses arg to the 'prove' tool\n"
run_tests () {
eval "prove -l ${1-} t/"