/build_new_version.sh (29dac83125cb84a0c3f095cfeb9319e9c7df5867) (601 bytes) (mode 100755) (type blob)
#!/bin/bash
cd Linux_Version/
echo $PWD
if [ -f $PWD/inventory_synchronisation.dist ]; then
echo "Delete all existing content of 'Linux_Version'"
rm -irf *
fi
echo "Build the script into a executable file using nuitka."
if [ ! -f $PWD/inventory_synchronisation.dist ]; then
python3 -m nuitka --standalone --experimental=use_pefile --experimental=use_pefile_recurse --experimental=use_pefile_fullrecurse ../inventory_synchronisation.py
fi
echo "Link the executable to a command in /usr/bin."
sudo ln -is $PWD/inventory_synchronisation.dist/inventory_synchronisation /usr/bin/Order_Script
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/initBasti/Complete_Order_Plenty_Update
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/initBasti/Complete_Order_Plenty_Update
Clone this repository using git:
git clone git://git.rocketgit.com/user/initBasti/Complete_Order_Plenty_Update
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main