generated from bhoov/nbdev_template
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (34 loc) · 722 Bytes
/
Makefile
File metadata and controls
49 lines (34 loc) · 722 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.ONESHELL:
SHELL := /bin/bash
SRC = $(wildcard nbs/*.ipynb)
all: flyvec docs
prep:
nbdev_clean_nbs && nbdev_build_lib && nbdev_build_docs
bump:
nbdev_clean_nbs && nbdev_build_lib && nbdev_build_docs && nbdev_bump_version
flyvec: $(SRC)
nbdev_build_lib
touch flyvec
sync:
nbdev_update_lib
docs_serve: docs
cd docs && bundle exec jekyll serve
docs: $(SRC)
nbdev_build_docs
touch docs
test:
nbdev_test_nbs
release: pypi conda_release
nbdev_bump_version
conda_release:
fastrelease_conda_package
pypi: dist
twine upload --repository pypi dist/*
dist: clean
python setup.py sdist bdist_wheel
training:
cd flyvec/src; bash short_make;
clean:
rm -rf dist
clean_cu:
rm flyvec/src/*.o flyvec/src/*.so