-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.sh
26 lines (18 loc) · 1.42 KB
/
dev.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
echo "Building SmugChievements and installing to WoW directory."
touch SmugChievements.toc.tmp
cat SmugChievements.toc >SmugChievements.toc.tmp
sed -i "s/@project-version@/$(git describe --abbrev=0)/g" SmugChievements.toc.tmp
mkdir -p /f/games/World\ of\ Warcraft/_retail_/Interface/AddOns/SmugChievements/
mkdir -p /f/games/World\ of\ Warcraft/_classic_/Interface/AddOns/SmugChievements/
mkdir -p /f/games/World\ of\ Warcraft/_classic_era_ptr_/Interface/AddOns/SmugChievements/
cp -r LibDBIcon-1.0 /f/games/World\ of\ Warcraft/_retail_/Interface/AddOns/SmugChievements/
cp -r LibDBIcon-1.0 /f/games/World\ of\ Warcraft/_classic_/Interface/AddOns/SmugChievements/
cp -r LibDBIcon-1.0 /f/games/World\ of\ Warcraft/_classic_era_ptr_/Interface/AddOns/SmugChievements/
cp *.lua *.tga /f/games/World\ of\ Warcraft/_retail_/Interface/AddOns/SmugChievements/
cp *.lua *.tga /f/games/World\ of\ Warcraft/_classic_/Interface/AddOns/SmugChievements/
cp *.lua *.tga /f/games/World\ of\ Warcraft/_classic_era_ptr_/Interface/AddOns/SmugChievements/
cp SmugChievements.toc.tmp /f/games/World\ of\ Warcraft/_retail_/Interface/AddOns/SmugChievements/SmugChievements.toc
cp SmugChievements.toc.tmp /f/games/World\ of\ Warcraft/_classic_/Interface/AddOns/SmugChievements/SmugChievements.toc
cp SmugChievements.toc.tmp /f/games/World\ of\ Warcraft/_classic_era_ptr_/Interface/AddOns/SmugChievements/SmugChievements.toc
rm SmugChievements.toc.tmp
echo "Complete."