Use python3 to run littlecheck

This commit is contained in:
Ilan Cosman 2022-04-06 17:21:35 -07:00
parent 426b3b3ed6
commit 62286b8310
2 changed files with 5 additions and 6 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/littlecheck
littlecheck.py

View File

@ -16,13 +16,12 @@ install:
@type -q fisher || begin; curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher; end
@fisher install . >/dev/null
littlecheck:
@curl -sL https://raw.githubusercontent.com/ridiculousfish/littlecheck/HEAD/littlecheck/littlecheck.py -o littlecheck
@chmod +x littlecheck
littlecheck.py:
@curl -sL https://raw.githubusercontent.com/ridiculousfish/littlecheck/HEAD/littlecheck/littlecheck.py -o littlecheck.py
.PHONY: test
test: install littlecheck
test: install littlecheck.py
@type -q mock || fisher install IlanCosman/clownfish
@fish tests/test_setup.fish
@_tide_remove_unusable_items
@_tide_cache_variables; ./littlecheck --progress tests/*.test.fish
@_tide_cache_variables; python3 littlecheck.py --progress tests/*.test.fish