Setup project so it doesnt auto-update and only compiles whats in src

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 42c3bd0db4
commit 0400968ea3
  1. 2
      C/scripts/build.sh
  2. BIN
      current
  3. 4
      sig
  4. 0
      src/main.c

@ -1,7 +1,7 @@
#Compiles the entire program then runs it, producing an executable.
#C
printf "Running program...\n\n\n"
if gcc $(find . -type f -name "*.c") ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then
if gcc src/*.c ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then
./${PROJECT_NAME} "$@"
fi
printf "\n\n"

Binary file not shown.

4
sig

@ -1,8 +1,8 @@
export AUTO_UPDATE=true
export AUTO_UPDATE=false
source utils/define.sh
define PROJECT_NAME "CProjectTemplate"
define PROJECT_NAME "current"
define CUSTOM_PARAMS "-lncurses"
define LANGUAGE "C"

Loading…
Cancel
Save