minor updates

This commit is contained in:
Josh Ashton
2023-06-24 23:31:27 -06:00
parent 5e3db229df
commit 3206768096
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -86,8 +86,9 @@ fi
# Create a new C project. # Create a new C project.
if [[ $LANG == "c" ]]; then if [[ $LANG == "c" ]]; then
cp -r ~/templates/c ./$NAME # Copy the template C file. mkdir $NAME
cd $NAME cd $NAME
cp -r ~/templates/c/main.c . # Copy the template C file.
mark; # Bookmark new project. mark; # Bookmark new project.
# Create a new C# project with dotnet. # Create a new C# project with dotnet.
+2
View File
@@ -95,6 +95,8 @@ if [[ $TYPE == "c" ]]; then
echo "Output..." echo "Output..."
./a.out $ARGS ./a.out $ARGS
rm a.out
# Run C# app. # Run C# app.
elif [[ $TYPE == "cs" ]]; then elif [[ $TYPE == "cs" ]]; then
clear clear