Source Update

This commit is contained in:
Christer Warén 2024-04-26 06:22:52 +03:00
parent d3901ba519
commit 8808aa7b93
2 changed files with 32 additions and 34 deletions

View File

@ -21,6 +21,9 @@ start() {
syntax-line-douple syntax-line-douple
echo -n "Warén CLI " echo -n "Warén CLI "
syntax-line-douple syntax-line-douple
}
stop () {
if [[ -d "./src" ]] if [[ -d "./src" ]]
then then
podman run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp docker.io/library/php:8-cli php generator.php &> /dev/null podman run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp docker.io/library/php:8-cli php generator.php &> /dev/null
@ -34,10 +37,6 @@ else
fi fi
sudo chmod +x /usr/bin/wx &> /dev/null sudo chmod +x /usr/bin/wx &> /dev/null
fi fi
}
stop () {
echo " " echo " "
echo " " echo " "
exit 1 exit 1

7
wx
View File

@ -21,6 +21,9 @@ start() {
syntax-line-douple syntax-line-douple
echo -n "Warén CLI " echo -n "Warén CLI "
syntax-line-douple syntax-line-douple
}
stop () {
if [[ -d "./src" ]] if [[ -d "./src" ]]
then then
podman run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp docker.io/library/php:8-cli php generator.php &> /dev/null podman run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp docker.io/library/php:8-cli php generator.php &> /dev/null
@ -34,10 +37,6 @@ else
fi fi
sudo chmod +x /usr/bin/wx &> /dev/null sudo chmod +x /usr/bin/wx &> /dev/null
fi fi
}
stop () {
echo " " echo " "
echo " " echo " "
exit 1 exit 1