ENH: add repository automation scripts
This commit is contained in:
parent
9143e3808e
commit
f53eb3a5f3
2 changed files with 53 additions and 0 deletions
20
new_cpp_project.sh
Normal file
20
new_cpp_project.sh
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Exit if name argument is not given
|
||||
if [ -z "$*" ]; then
|
||||
echo "A project name argument must be provided."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
NAME=$1
|
||||
|
||||
|
||||
################################################################################
|
||||
|
||||
|
||||
# Download latest version of the build file
|
||||
curl -O https://raw.githubusercontent.com/TimothyHelton/cpp_project_template/master/create_project.sh
|
||||
chmod u+x create_project.sh
|
||||
|
||||
# Create Project
|
||||
./create_project.sh ${NAME}
|
Loading…
Add table
Add a link
Reference in a new issue