Skip to main content
Module

x/itertools/Makefile

🦕 A TypeScript port of Python's itertools and more-itertools for Deno
Go to Latest
File
TOOLS := ${CURDIR}/.tools .DEFAULT_GOAL := help help: @cat $(MAKEFILE_LIST) | \ perl -ne 'print if /^\w+.*##/;' | \ perl -pe 's/(.*):.*##\s*/sprintf("%-20s",$$1)/eg;' tools: FORCE ## Install development tools @mkdir -p ${TOOLS} @deno install -A -f -n udd --root ${TOOLS} https://deno.land/x/udd@0.5.0/main.ts fmt: FORCE ## Format code @deno fmt --ignore=.deno fmt-check: FORCE ## Format check @deno fmt --check --ignore=.deno lint: FORCE ## Lint code @deno lint --ignore=.deno type-check: FORCE ## Type check @deno test --unstable --no-run $$(find . -name '*.ts' -not -name '.deno') test: FORCE ## Test @deno test --no-check --unstable -A --jobs update: FORCE ## Update dependencies @${TOOLS}/bin/udd $$(find . -name '*.ts' -not -name '.deno') @make fmt FORCE: