git-off

Log

Files

Refs

README

test.sh (315B)

     1 # backup git configs
     2 cp ~/.gitconfig ~/tmp/
     3 cp ../.git/config ~/tmp/
     4 
     5 # copy test git config
     6 cp .gitconfig ~/
     7 
     8 # run tests
     9 mocha --compilers coffee:coffee-script/register test.coffee
    10 
    11 # clean
    12 rm ../.git-off
    13 rm ../.gitattributes
    14 
    15 # restore git configs
    16 cp ~/tmp/.gitconfig ~/.gitconfig
    17 cp ~/tmp/config ../.git/config