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
|
||||
exit
|
||||
elif [[ "$1" = "--reset" ]]; then
|
||||
git reset modules
|
||||
rm -r modules
|
||||
git co -- modules
|
||||
dirs="modules tools"
|
||||
git reset $dirs
|
||||
rm -r $dirs
|
||||
git co -- $dirs
|
||||
exit
|
||||
elif [[ "$1" = "--dry-run" ]]; then
|
||||
DRY_RUN=1
|
||||
@ -83,7 +84,7 @@ for dir in $modules; do
|
||||
go perl -pi -e 's#primer-#../#' index.scss
|
||||
go popd > /dev/null
|
||||
|
||||
go git rm -r $dir
|
||||
go rm -r $dir
|
||||
done
|
||||
|
||||
# primer/primer => primer/css
|
||||
|
Loading…
Reference in New Issue
Block a user