f00ad581a1
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
13 lines
235 B
Bash
Executable file
13 lines
235 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd `dirname $0`
|
|
|
|
for folder in examples/* ;
|
|
do cp -n packages/create-next-app/templates/default/gitignore $folder/.gitignore;
|
|
done;
|
|
|
|
if [[ ! -z $(git status -s) ]];then
|
|
echo "Detected changes"
|
|
git status
|
|
exit 1
|
|
fi
|