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

@@ -15,6 +15,7 @@
#include "Internal/HardwareHLReporting.h"
#include "RobotState.h"
#include "Utility.h"
#include "WPILibVersion.h"
#include "networktables/NetworkTable.h"
/**
@@ -39,7 +40,7 @@ RobotBase::RobotBase() : m_ds(DriverStation::GetInstance()) {
file = std::fopen("/tmp/frc_versions/FRC_Lib_Version.ini", "w");
if (file != nullptr) {
std::fputs("v2017.1.0-beta-1", file);
std::fputs(WPILibVersion, file);
std::fclose(file);
}
}