mirror of
https://github.com/DerTyp7/better-teamspeak-theme.git
synced 2025-10-29 20:52:10 +01:00
Update build scripts, add gitignore, and update package.json
This commit is contained in:
16
build_dev.sh
16
build_dev.sh
@@ -1,6 +1,16 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
bash clean_dev_env.sh
|
||||
./build.sh
|
||||
|
||||
# cp files from dist to root folder and keep track of the files in a .dev_files_to_delete file
|
||||
find ./dist -type f -exec cp {} ./ \; -exec echo {} >> .dev_files_to_delete \;
|
||||
# Copy files from dist folder to root folder
|
||||
cp -r dist/* .
|
||||
|
||||
|
||||
echo "# START AUTOGENERATED" >> .gitignore
|
||||
|
||||
for file in dist/*; do
|
||||
echo "${file#dist/}" >> .gitignore
|
||||
done
|
||||
|
||||
echo "# END AUTOGENERATED" >> .gitignore
|
||||
|
||||
Reference in New Issue
Block a user