Commit de27ab93 authored by Maxime Perrotin's avatar Maxime Perrotin

Update taste script

Allow command line operation with "taste init projectName"
or just "taste init"
parent 47a40cd0
......@@ -31,8 +31,13 @@ then
EXTRA_CMD+=' --load-deployment-view DeploymentView.aadl '
fi
else
echo -e "${INFO} A new TASTE project folder will be created (use Ctrl-C to cancel)"
read -p "Please enter a name for the new project folder: " new_folder
if [ "$1" == "init" ]
then
new_folder="$2"
else
echo -e "${INFO} A new TASTE project folder will be created (use Ctrl-C to cancel)"
read -p "Please enter a name for the new project folder: " new_folder
fi
if [ "$new_folder" != "" ]
then
if [ -d "$new_folder" ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment