ProjectEuler/C/scripts/archive.sh
sigonasr2 cbac68a8c4 Complete
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2022-07-17 14:19:00 -05:00

11 lines
250 B
Bash
Executable File

#Archives the current project under the applicable program name.
#C
if [[ "$#" -eq 2 ]];
then
mkdir archives/$1
cp -R src current archives/$1
./sig commit ${*:2}
else
echo "Usage: "
echo " ./sig archive <problem> <commit msg>"
fi