generated from outerbounds/metaflow-card-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
41 lines (29 loc) · 967 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
33
34
35
36
37
38
39
40
help:
cat Makefile
run:
pip install -Uqe .
cd tests && python nbflow.py --package-suffixes ".ipynb" run
run-show-input:
pip install -Uqe .
cd tests && python nbflow.py --package-suffixes ".ipynb" run --exclude_nb_input False
render: run
cd tests && python nbflow.py card view end && cd ..
render-show-input: run-show-input
cd tests && python nbflow.py card view end && cd ..
test-show-input: run-show-input
cd tests && ./test.sh "-show-input"
test-hide-input: run
cd tests && ./test.sh ""
test: test-show-input test-hide-input
example-dl: .FORCE
cd examples/deep_learning && python dl_flow.py --package-suffixes=".ipynb" run && \
python dl_flow.py card view nb_auto && \
python dl_flow.py card view nb_manual
example-rf: .FORCE
cd examples/random_forest && python flow.py --package-suffixes=".ipynb" run && \
python flow.py card view evaluate
.FORCE:
release:
cog -r README.md
python setup.py sdist bdist_wheel
twine upload dist/*