Initial implementation

This commit is contained in:
2023-01-10 14:09:38 -07:00
parent 9278d09096
commit 261b513d68
6 changed files with 40 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# Builds the shiv "package" for distribution
./scripts/update_version_file.sh
shiv -c laconic-so -o package/laconic-so .
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
python3 -m venv venv
source ./venv/bin/activate
pip install --editable .
pip install shiv
shiv -c laconic-so -o laconic-so .
./laconic-so --verbose --local-stack setup-repositories
+3
View File
@@ -0,0 +1,3 @@
version_file_name=./app/data/version.txt
echo "# This file should be re-generated running: scripts/update-version-file.sh script" > $version_file_name
echo $( git describe --tags --abbrev=0 ; git rev-parse --short HEAD ) >> $version_file_name