Remove files in the right order so that .gitignore is taken into account

This commit is contained in:
Georges Dupéron 2016-08-08 02:06:26 +02:00
parent 745f99f219
commit 8f56ffa76c
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,8 @@ script:
- git config --global user.name "Travis CI"
- git config --global user.email "travis@nobody.com"
- git add -A . &> /dev/null
- git rm -f .gitignore Gruntfile.js
- git rm -f .gitignore || true
- git rm -f Gruntfile.js || true
- git commit -m "auto-commit" &>/dev/null
- git log --oneline --decorate --graph -10
- git push --force --quiet "https://${GH_TOKEN}@github.com/jsmaniac/scribble-mathjax.git" HEAD:refs/heads/v2.6-racket-mini

View File

@ -306,7 +306,7 @@ module.exports = function(grunt) {
"images" // these are used in the menu. Removing them will give you 404 errors but nothing will break.
],
notcode: [
".gitignore",
//".gitignore",
"docs",
"test",
"CONTRIBUTING.md",