For Project Euler progression and fun
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#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
|