diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2024-12-21 14:09:30 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2024-12-21 14:09:30 +0330 |
commit | c59709cb7de9c8951362007313f0b45fe4e7fd79 (patch) | |
tree | 0243ba3df52a8007d2fffc4945f6536102203a55 /project | |
parent | bcde4724cdaa8becd27160d8e8733919ed726366 (diff) |
Added Center widget
Diffstat (limited to 'project')
-rwxr-xr-x | project | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/project b/project deleted file mode 100755 index c1daf50..0000000 --- a/project +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -project_name="atui" - -function compile(){ - if [ ! -d build ]; then - if [ $(mkdir build) ]; then # if error - echo "cannot make 'build' dir" - exit - fi - fi - - gcc -Wall -Wextra -O3 src/main.c src/ui/tui.c -o "build/$project_name" -} - -function run(){ - compile && "./build/$project_name" "$@" - echo - echo "$?" -} - -function clear(){ - rm -r ./build/ -} - -function_name="$1" -shift - -$function_name "$@" |