Skip to content

Commit

Permalink
Add make file target 'tree' which ignores irrelevant folders.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Wright committed Nov 26, 2021
1 parent e5fb668 commit 9597c69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
DIR:=$(strip $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))))
NAME:=$(shell grep -e "^name\s*=\s*" pyproject.toml | cut -d = -f 2 | xargs)
VERSION:=$(shell grep -e "^version\s*=\s*" pyproject.toml | cut -d = -f 2 | xargs)
IGNORE_DIRS := dist|htmlcov|venv|__pycache__|audio_program_generator.egg-info

apg-build:
docker build --target apg-run --tag $(NAME):$(VERSION) .
Expand All @@ -18,3 +19,6 @@ test:
clean:
docker container rm -f $(NAME):$(VERSION)
docker image rm -f $(NAME):$(VERSION)

tree:
tree -I "$(IGNORE_DIRS)"
File renamed without changes.

0 comments on commit 9597c69

Please sign in to comment.