forked from FeeFighters/samurai-client-python
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
Latest commit
37 lines (32 loc) · 742 Bytes
/
Copy pathRakefile
File metadata and controls
37 lines (32 loc) · 742 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
desc"Delete created files and directories."
task:cleando
rm_rf"build"
rm_rf"dist"
rm_f"MANIFEST"
end
desc"Run tests."
task:testdo
system"nosetests -v"
end
desc"Run tests on CI server."
task:test_cido
system"nosetests -v --with-xunit --xunit-file=results.xml"
end
namespace:pypido
desc"Register the package with PyPI"
task:register=>:cleando
system"python setup.py register"
end
desc"Upload a new version to PyPI"
task:upload=>:cleando
system"python setup.py sdist upload"
Rake::Task["clean"].reenable
Rake::Task["clean"].invoke
end
end
namespace:docsdo
desc"Generate html documentation"
task:htmldo
system"PYTHONPATH='..' make -C docs clean html"
end
end