Browse Source

Add some helper fish functions for work #fish

Colin Powell 6 years ago
parent
commit
5510c63216

+ 6 - 0
fish/.config/fish/functions/ffcov.fish

@@ -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 - 0
fish/.config/fish/functions/ffcovreport.fish

@@ -0,0 +1,6 @@
+function ffcovreport
+	pushd ~/src/ff/fifteen5
+	docker-compose exec app coverage report -m $argv
+	popd
+end
+

+ 5 - 0
fish/.config/fish/functions/ffsh.fish

@@ -0,0 +1,5 @@
+function ffsh
+	pushd ~/src/ff/fifteen5
+	docker-compose exec app bash
+	popd
+end