mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user