Skip to content

Commit

Permalink
Merge branch 'main' into python-swerve-setpoint-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
PickleFace5 authored Nov 28, 2024
2 parents 1cfd817 + 574bc49 commit 143f84b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Writerside/topics/pplib-Build-an-Auto.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,10 @@ every auto in the project.

> **Warning**
>
> This method will load all autos in the deploy directory. Since the deploy process does not automatically clear the
> deploy directory, old auto files that have since been deleted from the project could remain on the RIO, therefore
> being added to the auto chooser.
> This method will load all autos in the deploy directory. [Make sure you have the line](https://docs.wpilib.org/en/latest/docs/software/advanced-gradlerio/compiler-args.html#deleting-unused-deploy-files)
> `deleteOldFiles = true` in your build.gradle file or the deploy directory will not be cleared and you will see deleted autos.
>
> To remove old options, the deploy directory will need to be cleared manually via SSH, WinSCP, reimaging the RIO, etc.
> To manually remove old options, use SSH, WinSCP, reimaging the RIO, etc.
>
{style="warning"}

Expand Down
1 change: 1 addition & 0 deletions examples/cpp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ deploy {
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
files = project.fileTree('src/main/deploy')
directory = '/home/lvuser/deploy'
deleteOldFiles = true
}
}
}
Expand Down
1 change: 1 addition & 0 deletions examples/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ deploy {
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
files = project.fileTree('src/main/deploy')
directory = '/home/lvuser/deploy'
deleteOldFiles = true
}
}
}
Expand Down

0 comments on commit 143f84b

Please sign in to comment.