aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-12-05 11:54:54 -0700
committerSelene ToyKeeper2023-12-05 11:54:54 -0700
commit7153149c99e416f6efad3b84e5b550c0abf56454 (patch)
treecb7060886b8be63caff06bbee5170e493638d7be /make
parentforgot one item in the ChangeLog (diff)
downloadanduril-7153149c99e416f6efad3b84e5b550c0abf56454.tar.gz
anduril-7153149c99e416f6efad3b84e5b550c0abf56454.tar.bz2
anduril-7153149c99e416f6efad3b84e5b550c0abf56454.zip
moved version string calculation to bin/version-string.sh
Also updated the format slightly, so this rev is: `2023-12-03+2#1` +N for commits since tag #1 for dirty
Diffstat (limited to '')
-rwxr-xr-xmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/make b/make
index d34a4b8..ca3a84a 100755
--- a/make
+++ b/make
@@ -27,6 +27,7 @@ Usage: ./make TASK
docs Convert all .md files to .html
models Generate the MODELS file
release Zip up all .hex files to prep for publishing a release
+ version Show the current version string
todo Show tasks noted in source code files
... or TASK can be the partial name of a build target.
@@ -75,6 +76,9 @@ function main() {
release)
./bin/make-release.sh "$@"
;;
+ version)
+ ./bin/version-string.sh "$@"
+ ;;
todo)
grep -E 'TODO:|FIXME:' -- **/*.[ch] **/*.md
;;