Update build scripts, add gitignore, and update package.json

This commit is contained in:
dertyp7
2024-01-18 21:33:09 +01:00
parent ec3596bd4b
commit eb5ad33531
7 changed files with 75 additions and 2456 deletions

24
clean_dev_env.sh Normal file
View File

@@ -0,0 +1,24 @@
#!/bin/bsh
# Extract lines between the comment block
sed -n '/# START AUTOGENERATED/,/# END AUTOGENERATED/p' .gitignore > temp.txt
# Remove the comment lines
sed -i '/# START AUTOGENERATED/d' temp.txt
sed -i '/# END AUTOGENERATED/d' temp.txt
# Read each line in the temp file
while IFS= read -r line
do
# Delete the file
rm -f "$line"
done < temp.txt
# Remove the temp file
rm -f temp.txt
# Remove the comment block from .gitignore
sed -i '/# START AUTOGENERATED/,/# END AUTOGENERATED/d' .gitignore
# Exit the script
exit 0