💾 Archived View for gmi.noulin.net › gitRepositories › git-off › file › test › test.sh.gmi captured on 2023-01-29 at 13:15:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

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