mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-10-31 21:35:31 +00:00 
			
		
		
		
	fix doxygen setup and automate generation
rakefile for some common tasks and doxygen needs to look in the new place for headers
This commit is contained in:
		
							parent
							
								
									4eec2c0d4a
								
							
						
					
					
						commit
						635cacc6eb
					
				
							
								
								
									
										21
									
								
								Rakefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								Rakefile
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,21 @@ | ||||
| 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 | ||||
| @ -1,6 +1,6 @@ | ||||
| PROJECT_NAME = libgit2 | ||||
| 
 | ||||
| INPUT            = src/git | ||||
| INPUT            = src/git2 | ||||
| QUIET            = YES | ||||
| RECURSIVE        = YES | ||||
| FILE_PATTERNS    = *.h | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Scott Chacon
						Scott Chacon