forked from fastai/fastai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
53 lines (36 loc) · 833 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
.ONESHELL:
SHELL := /bin/bash
SRC = $(wildcard nbs/*.ipynb)
all: fastai
both: fastai docs
help:
cat Makefile
fastai: $(SRC)
nbdev_clean_nbs
nbdev_build_lib
update_lib:
pip install nbdev --upgrade
docs_serve: docs
cd docs && bundle exec jekyll serve
docs: $(SRC)
rsync -a docs_src/ docs
nbdev_build_docs
test:
nbdev_test_nbs --pause 0.5 --flags ''
testmore:
nbdev_test_nbs --pause 0.5 --flags 'cpp cuda' --n_workers 8
testall:
nbdev_test_nbs --pause 0.5 --flags 'cpp cuda slow' --n_workers 4
release: pypi
sleep 3
fastrelease_conda_package --upload_user fastai
fastrelease_bump_version
nbdev_build_lib | tail
conda_release:
fastrelease_conda_package --mambabuild --upload_user fastai
pypi: dist
twine upload --repository pypi dist/*
dist: clean
python setup.py sdist bdist_wheel
clean:
rm -rf dist