Skip to content

Commit

Permalink
Send sources to roboRIO on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty committed May 7, 2024
1 parent a8d6e8b commit 29501af
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vscode-wpilib/resources/gradle/c/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ deploy {
files = project.fileTree('src/main/deploy')
directory = '/home/lvuser/deploy'
}

// sources
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
files = project.fileTree('build/sources.zip')
directory = '/home/lvuser/'
}
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions vscode-wpilib/resources/gradle/cpp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ deploy {
files = project.fileTree('src/main/deploy')
directory = '/home/lvuser/deploy'
}

// sources
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
files = project.fileTree('build/sources.zip')
directory = '/home/lvuser/'
}
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions vscode-wpilib/resources/gradle/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ deploy {
files = project.fileTree('src/main/deploy')
directory = '/home/lvuser/deploy'
}

// sources
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
files = project.fileTree('build/sources.zip')
directory = '/home/lvuser/'
}
}
}
}
Expand Down

0 comments on commit 29501af

Please sign in to comment.