You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
334 B
19 lines
334 B
2 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
mv themes/_vendor themes/vendor
|
||
|
|
||
|
files=$(find themes/ -name "*.html")
|
||
|
|
||
|
replace() {
|
||
|
sed -i "s/_vendor/vendor/g" $1
|
||
|
}
|
||
|
|
||
|
for item in $files; do
|
||
|
replace $item
|
||
|
done
|
||
|
|
||
|
tsc --build themes/gruvbox
|
||
|
tsc --build themes/dracula
|
||
|
|
||
|
rsync -r . build/ --exclude .gitignore --exclude .gitmodules --exclude .git --exclude .github
|