-
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (21 loc) · 620 Bytes
/
Makefile
File metadata and controls
27 lines (21 loc) · 620 Bytes
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
.PHONY: build test package clean
build:
poetry install
test:
poetry run aw-watcher-input --help # Ensures that it at least starts
make typecheck
typecheck:
poetry run mypy src/aw_watcher_input --ignore-missing-imports
build-vis:
#npm install -g pug-cli browserify
cd visualization && make build
package:
pyinstaller aw-watcher-input.spec --clean --noconfirm
# if dist/visualization/dist exists, include in package
if [ -d "visualization/dist" ]; then \
mkdir -p dist/visualization; \
cp -r visualization/dist/* dist/visualization; \
fi
clean:
rm -rf build dist
rm -rf aw_watcher_input/__pycache__