Add some helper fish functions for work #fish
This commit is contained in:
6
fish/.config/fish/functions/ffcov.fish
Normal file
6
fish/.config/fish/functions/ffcov.fish
Normal file
@ -0,0 +1,6 @@
|
||||
function ffcov
|
||||
pushd ~/src/ff/fifteen5
|
||||
docker-compose exec app coverage run manage.py test -k ff.mods.$argv
|
||||
docker-compose exec app coverage combine
|
||||
popd
|
||||
end
|
||||
6
fish/.config/fish/functions/ffcovreport.fish
Normal file
6
fish/.config/fish/functions/ffcovreport.fish
Normal file
@ -0,0 +1,6 @@
|
||||
function ffcovreport
|
||||
pushd ~/src/ff/fifteen5
|
||||
docker-compose exec app coverage report -m $argv
|
||||
popd
|
||||
end
|
||||
|
||||
5
fish/.config/fish/functions/ffsh.fish
Normal file
5
fish/.config/fish/functions/ffsh.fish
Normal file
@ -0,0 +1,5 @@
|
||||
function ffsh
|
||||
pushd ~/src/ff/fifteen5
|
||||
docker-compose exec app bash
|
||||
popd
|
||||
end
|
||||
Reference in New Issue
Block a user