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 'make')
-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
;;
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.