You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2026/09/29 16:37:11 UTC
(comdev-metrics) branch main updated: Initial stab at build script
This is an automated email from the ASF dual-hosted git repository.
sebbASF pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-metrics.git
The following commit(s) were added to refs/heads/main by this push:
new b574abc Initial stab at build script
b574abc is described below
commit b574abcd550889121bd2d6f17a50b8449de0386b
Author: Sebb <se...@apache.org>
AuthorDate: Tue Sep 29 17:37:00 2026 +0100
Initial stab at build script
---
build.sh | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..e5d7a43
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,25 @@
+#!/usr/bin/env bash
+
+# build the site
+
+# Make sure there is a config file
+test -r config.yml || cp config.example.yml config.yml
+
+# Provide shortcuts
+case "$1" in
+ full)
+ shift
+ uv run asfmetrics "$@"
+ ;;
+ bare)
+ shift
+ uv run asfmetrics --skip-git --skip-mailing-lists "$@"
+ ;;
+ '') # empty
+ echo Expecting "full|bare| or parameters as below:"
+ uv run asfmetrics --help
+ ;;
+ *)
+ uv run asfmetrics "$@"
+ ;;
+esac