-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (25 loc) · 807 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
help:
@echo 'help - Show this message'
@echo 'run - Runs the minesweeper game'
@echo 'clean - Removes all Python cache and temporary files'
@echo 'clean-all - Removes all Python cache, temporary files, and build folders'
@echo 'clean-build - Removes Python build folders'
@echo 'install - Installs this Python package'
@echo 'dev - Installs this Python package in editable mode'
clean: clean-pyc
clean-all: clean-pyc clean-build
clean-pyc:
@find . -type f -name '*.pyc' -exec rm -f {} +
@find . -type f -name '*.pyo' -exec rm -f {} +
@find . -type f -name '*~' -exec rm -f {} +
@find . -type d -name '__pycache__' -exec rm -rf {} +
clean-build:
@rm -rf build/
@rm -rf dist/
@rm -rf *.egg-info
run:
@python minesweeper/play.py
install:
@python setup.py install
dev:
@pip install -e .