Skip to content

Commit

Permalink
Add doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
JaciBrunning committed Feb 2, 2019
1 parent aac833b commit 36743dc
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
18 changes: 17 additions & 1 deletion azure-pipelines.yml
Expand Up @@ -103,4 +103,20 @@ jobs:
publishJUnitResults: false
testResultsFiles: '**/TEST-*.xml'
tasks: 'clean :vision:build'
options: '-Pno-roborio -Pno-desktop -xcheck'
options: '-Pno-roborio -Pno-desktop -xcheck'

- job: doxygen
pool:
vmImage: 'Ubuntu-16.04'
container: linux
steps:
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
tasks: 'doxygen'
options: '-Pno-roborio'
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'doxygen'
pathtoPublish: build/docs/doxygen/html
3 changes: 3 additions & 0 deletions build.gradle
@@ -1,4 +1,7 @@
// GradleRIO plugin is defined in buildSrc!
plugins {
id 'org.ysb33r.doxygen' version '0.5' apply false
}

// For Azure
allprojects {
Expand Down
11 changes: 11 additions & 0 deletions common/build.gradle
@@ -1,6 +1,7 @@
apply plugin: 'cpp'
apply plugin: 'google-test-test-suite'
apply plugin: 'edu.wpi.first.GradleRIO'
apply plugin: "org.ysb33r.doxygen"

model {
components {
Expand Down Expand Up @@ -44,4 +45,14 @@ model {
wpi.deps.vendor.cpp(it)
}
}
}

doxygen {
executables {
doxygen version : '1.8.13'
}

generate_html true
javadoc_autobrief true
source project.file('src/main/include')
}

0 comments on commit 36743dc

Please sign in to comment.