Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
sigonasr2 2022-07-17 14:19:00 -05:00
parent e78e77b9b9
commit cbac68a8c4
2 changed files with 12 additions and 1 deletions

11
C/scripts/archive.sh Executable file
View File

@ -0,0 +1,11 @@
#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

View File

@ -25,4 +25,4 @@ if [ -z "$1" ]
exit
fi
./$LANGUAGE/scripts/$1.sh "${*:2}"
./$LANGUAGE/scripts/$1.sh ${*:2}