generated from fastai/nbdev_template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
55 lines (42 loc) · 835 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
SRC = $(wildcard ./*.ipynb)
build: $(SRC)
nbdev_build_lib
touch netdata-pandas
version: $(SRC)
nbdev_bump_version
netdata-pandas: $(SRC)
nbdev_build_lib
touch netdata-pandas
docs_serve: docs
cd docs && bundle exec jekyll serve
docs: $(SRC)
nbdev_build_docs
touch docs
test:
nbdev_test_nbs
bump:
nbdev_bump_version
release: pypi
nbdev_bump_version
pypi: dist
twine upload --repository pypi dist/*
dist: clean
python setup.py sdist bdist_wheel
clean:
rm -rf dist
release_on_windows:
nbdev_build_lib
nbdev_build_docs
nbdev_test_nbs
rmdir /s dist
python setup.py sdist bdist_wheel
twine upload --repository pypi dist/*
nbdev_bump_version
all:
nbdev_build_lib
nbdev_build_docs
nbdev_test_nbs
rm -rf dist
python setup.py sdist bdist_wheel
twine upload --repository pypi dist/*
nbdev_bump_version