forked from AnswerDotAI/ghapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (30 loc) · 611 Bytes
/
Makefile
File metadata and controls
42 lines (30 loc) · 611 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
.ONESHELL:
SHELL := /bin/bash
SRC = $(wildcard ./*.ipynb)
all: update ghapi docs
ghapi: $(SRC)
nbdev_build_lib
touch ghapi
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
sleep 1
fastrelease_conda_package --mambabuild --upload_user fastai
nbdev_bump_version
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
update:
python examples/build.py