libgit2/Rakefile
Scott Chacon 635cacc6eb fix doxygen setup and automate generation
rakefile for some common tasks and doxygen needs
to look in the new place for headers
2010-12-08 10:35:55 -08:00

22 lines
400 B
Ruby

desc "Build and Run Tests"
task :build do
`./waf clean`
`./waf clean-tests`
`./waf configure`
`./waf build`
`./waf test`
end
desc "Build docs"
task :docs do
puts "Generating Doxygen docs"
`doxygen api.doxygen`
`git stash`
`git checkout gh-pages`
`cp -Rf apidocs/html/* .`
`git add .`
`git commit -am 'generated docs'`
`git push origin gh-pages`
`git checkout master`
end