FRCTeam1073-TheForceTeam / robot14

The codebase for C++ Robot code for th 2014 competition bot.
3 stars 0 forks source link

Wednesday Project: FTP and Git Script for prefs #19

Closed evinugur closed 9 years ago

evinugur commented 10 years ago

This might be fun for someone who wants a quick project this meeting.

Consider the following batch file:

@echo off
ftp cp or copy  some stuff something something 10.10.73.2 wpilib-prefs.ini
git pull
git add wpilib-prefs.ini 
git commit -m "commiting wpilib-prefs"
git push

Basically force copy the preferences file off the ftp server, and then commit it. If they're no deltas in the file, git will just run through the commands and do nothing.

What needs to be done is that FTP stuff, and that should be pretty easy.