forked from koaning/skedulord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
49 lines (39 loc) · 919 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
flake:
flake8 skedulord
flake8 tests
flake8 setup.py
install:
pip install -e ".[dev]"
develop: install
python setup.py develop
test:
pytest --cov=skedulord tests
check: flake test clean
clean:
rm -rf .pytest_cache
rm -rf build
rm -rf dist
rm -rf scikit_lego.egg-info
rm -rf .ipynb_checkpoints
rm -rf notebooks/.ipynb_checkpoints
rm -rf skedulord.egg-info
dev:
cd skedulord/dashboard && gatsby build
cp -r skedulord/dashboard/public/* skedulord/web/templates
cd skedulord/dashboard && gatsby clean
lord serve
reset:
lord init
lord nuke --yes --really
lord init
lord run pyjob "python jobs/pyjob.py" --retry 1 --wait 1
lord run pyjob "python jobs/badpyjob.py" --retry 3 --wait 1
test-frontend:
lord serve & ./node_modules/.bin/cypress run
test-gitlab:
gitlab-runner exec docker test
pypi:
rm -rf dist
python setup.py sdist
python setup.py bdist_wheel --universal
twine upload dist/*