forked from AnswerDotAI/fastcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (28 loc) · 671 Bytes
/
Makefile
File metadata and controls
40 lines (28 loc) · 671 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
.ONESHELL:
SHELL := /bin/bash
SHELLFLAGS := -e
SRC = $(wildcard nbs/*.ipynb)
all: fastcore docs
fastcore: $(SRC)
nbdev_build_lib
touch fastcore
docs_serve: docs
cd docs && bundle exec jekyll serve
docs: $(SRC)
rsync -a docs_src/ docs
nbdev_build_docs
touch docs
test:
nbdev_test_nbs
release: pypi
sleep 5
fastrelease_conda_package --mambabuild --upload_user fastai --build_args '-c pytorch -c fastai'
nbdev_bump_version
conda_release:
fastrelease_conda_package --mambabuild --upload_user fastai --build_args '-c pytorch -c fastai'
pypi: dist
twine upload --repository pypi dist/*
dist: clean
python setup.py sdist bdist_wheel
clean:
rm -rf dist