Complete
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
e78e77b9b9
commit
cbac68a8c4
11
C/scripts/archive.sh
Executable file
11
C/scripts/archive.sh
Executable 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
|
||||
@ -25,4 +25,4 @@ if [ -z "$1" ]
|
||||
exit
|
||||
fi
|
||||
|
||||
./$LANGUAGE/scripts/$1.sh "${*:2}"
|
||||
./$LANGUAGE/scripts/$1.sh ${*:2}
|
||||
Loading…
x
Reference in New Issue
Block a user