mirror of
https://github.com/primer/css.git
synced 2024-11-24 05:06:04 +03:00
reset tools, too
This commit is contained in:
parent
c9451433fd
commit
7830f3cc6e
@ -22,9 +22,10 @@ if [[ $flag = "--help" || $flag = "-h" ]]; then
|
|||||||
echo
|
echo
|
||||||
exit
|
exit
|
||||||
elif [[ "$1" = "--reset" ]]; then
|
elif [[ "$1" = "--reset" ]]; then
|
||||||
git reset modules
|
dirs="modules tools"
|
||||||
rm -r modules
|
git reset $dirs
|
||||||
git co -- modules
|
rm -r $dirs
|
||||||
|
git co -- $dirs
|
||||||
exit
|
exit
|
||||||
elif [[ "$1" = "--dry-run" ]]; then
|
elif [[ "$1" = "--dry-run" ]]; then
|
||||||
DRY_RUN=1
|
DRY_RUN=1
|
||||||
@ -83,7 +84,7 @@ for dir in $modules; do
|
|||||||
go perl -pi -e 's#primer-#../#' index.scss
|
go perl -pi -e 's#primer-#../#' index.scss
|
||||||
go popd > /dev/null
|
go popd > /dev/null
|
||||||
|
|
||||||
go git rm -r $dir
|
go rm -r $dir
|
||||||
done
|
done
|
||||||
|
|
||||||
# primer/primer => primer/css
|
# primer/primer => primer/css
|
||||||
|
Loading…
Reference in New Issue
Block a user