multi-pbar threading

This commit is contained in:
2024-02-06 08:59:34 +01:00
parent 400ae2fd48
commit ab2f90184f
9 changed files with 392 additions and 11 deletions

25
deploy.nu Normal file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env nu
let version = (open pyproject.toml).project.version
let zipfile = $"scgenerator-($version).zip"
let help_page = "scgenerator.html"
let filelist = (
git ls-files |
lines |
where {not ($in | str ends-with ".afphoto")} |
where {$in != "deploy.nu"}
)
^zip $zipfile ...$filelist
open README.md |
str replace -a __VERSION__ $version |
pandoc --standalone --toc --template build/template.html |
save -f $'build/($help_page)'
scp -O $zipfile $"fibnas:/volume1/web/($zipfile)"
scp -O $zipfile $"fibnas:/volume1/web/scgenerator-latest.zip"
scp -O $'build/($help_page)' $"fibnas:/volume1/web/($help_page)"
rm $zipfile