goext/Makefile

17 lines
500 B
Makefile
Raw Permalink Normal View History

2022-10-29 15:34:40 +02:00
run:
echo "This is a library - can't be run" && false
test:
2023-06-02 09:44:31 +02:00
# go test ./...
which gotestsum || go install gotest.tools/gotestsum@latest
2023-08-14 16:32:39 +02:00
gotestsum --format "testname" -- -tags="timetzdata sqlite_fts5 sqlite_foreign_keys" "./..."
2022-11-19 13:34:21 +01:00
test-in-docker:
tag="goext_temp_test_image:$(shell uuidgen | tr -d '-')"; \
docker build --tag $$tag . -f .gitea/workflows/Dockerfile_tests; \
docker run --rm $$tag; \
docker rmi $$tag
2022-11-19 13:34:21 +01:00
version:
_data/version.sh