Moved version generation to the WPILib versioning plugin. (#277)

* Moved version generation to the WPILib versioning plugin. This also moves ntcore and wpilib to the latest available version.

* Fixed description string.

* Gave full path for ignored files.
This commit is contained in:
Fred Silberberg
2016-10-20 23:54:04 -07:00
committed by GitHub
parent 0613f1d182
commit e5e1a1a4d1
16 changed files with 258 additions and 95 deletions

View File

@@ -21,6 +21,7 @@ import edu.wpi.first.wpilibj.hal.HAL;
import edu.wpi.first.wpilibj.internal.HardwareHLUsageReporting;
import edu.wpi.first.wpilibj.internal.HardwareTimer;
import edu.wpi.first.wpilibj.networktables.NetworkTable;
import edu.wpi.first.wpilibj.util.WPILibVersion;
/**
* Implement a Robot Program framework. The RobotBase class is intended to be subclassed by a user
@@ -215,7 +216,7 @@ public abstract class RobotBase {
file.createNewFile();
try (FileOutputStream output = new FileOutputStream(file)) {
output.write("v2017.1.0-beta-1".getBytes());
output.write(WPILibVersion.Version.getBytes());
}
} catch (IOException ex) {