Skip to content

Commit

Permalink
Add deleteOldFiles = false to deploy in build.gradle (#713)
Browse files Browse the repository at this point in the history
Makes it easier for teams to find and enable this option.
  • Loading branch information
sciencewhiz authored Oct 29, 2024
1 parent c0bf3f9 commit 4dba6d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions vscode-wpilib/resources/gradle/c/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ deploy {
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
files = project.fileTree('src/main/deploy')
directory = '/home/lvuser/deploy'
deleteOldFiles = false // Change to true to delete files on roboRIO that no
// longer exist in deploy directory on roboRIO
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions vscode-wpilib/resources/gradle/cpp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ deploy {
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
files = project.fileTree('src/main/deploy')
directory = '/home/lvuser/deploy'
deleteOldFiles = false // Change to true to delete files on roboRIO that no
// longer exist in deploy directory on roboRIO
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion vscode-wpilib/resources/gradle/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ deploy {
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
files = project.fileTree('src/main/deploy')
directory = '/home/lvuser/deploy'
}
deleteOldFiles = false // Change to true to delete files on roboRIO that no
// longer exist in deploy directory on roboRIO }
}
}
}
Expand Down

0 comments on commit 4dba6d2

Please sign in to comment.