2
0
mirror of https://github.com/team2059/Zaphod synced 2024-12-18 20:12:28 -05:00
zaphod/build

13 lines
330 B
Bash
Executable File

#!/bin/bash
OUTFILE='Zaphod.out'
RRIO_IPADDRESS='10.20.59.2'
if [ "$1" = "build" ];then
cd src && make
elif [ "$1" = "clean" ];then
cd src&&make clean
elif [ "$1" = "buildclean" ];then
cd src&&make clean;make
elif [ "$1" = "deploy" ];then
cd bin&&wput $OUTFILE ftp://frc:frc@10.20.59.2/ni-rt/system/FRC_UserProgram.out
fi