Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2 2 years ago
parent e78e77b9b9
commit cbac68a8c4
  1. 11
      C/scripts/archive.sh
  2. 2
      utils/main.sh

@ -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

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