From 0400968ea383f4fcc8b967d0145b5dfceb56545f Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Thu, 14 Jul 2022 12:59:58 +0000 Subject: [PATCH] Setup project so it doesnt auto-update and only compiles whats in src Co-authored-by: sigonasr2 --- C/scripts/build.sh | 2 +- current | Bin 0 -> 16696 bytes sig | 4 ++-- main.c => src/main.c | 0 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100755 current rename main.c => src/main.c (100%) diff --git a/C/scripts/build.sh b/C/scripts/build.sh index 3cbcb64..83868ab 100755 --- a/C/scripts/build.sh +++ b/C/scripts/build.sh @@ -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" diff --git a/current b/current new file mode 100755 index 0000000000000000000000000000000000000000..deadea398858006a6c816b2cd5e892b6f935c76e GIT binary patch literal 16696 zcmeHOZ)_Y#6`%9j@ujiPm(-z7QsNB_C?WC2P95VEOz!+Id)4I+iA{`}baVEt?SuPc z?)F-{f?{x6_0$@yN~jf7Y9k?mR4ReQhwuS#2$Uevs`&ziQV|NFE=r3NQWT)c@!srv z=iT)=NQF{HIdAU9XjUg%WyNoAM0TQF#4x4bgMHY+GT}~XL`c4wE9g1joj_l5n9pfU^$H?)- znBb?A;^{^O$}lPNTL`z^5ZSr0m-HF24opWcnu+&P-(j+ARHPf>My`jE>-z-Q@sL`U zH~;2gK0@`aG!7cYpOL~VcBPWT9qqePiI!9{Q1>89bxXCPA~vgvqRg@O3H)2SJrp)3SEJUQ)CazP`ML?OwF>6x z`ea@Z9|&9J%(MIo4hSS1ORSI61sl(E2+J01JYNgQFWPu{UqceoH5+fgUS1}?7Ie7J z(!l%jBH%^9i+~paF9Kc!ya;#^_`iz4UmG_6Lz}r2&>pM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Px>7AL}jOzsb>*)L$OYr+}~2{+0UmjP%nej$?yesgj@PrOx_gi0^7-?Y^s{_?pMwrmiRIUYANX|;pGEqe;@_29fmgUP8-7Oe%jd~1;6q}= zvUySu{JN^;*F^{NHou&`dj&p8{@wEvcQz?(Y{Q3vUt6_7@O_qxo|CqItm>mzt#BM+xF5?OsLl^u?!^n{ts<@I=BQjBEN z6Dh+q5^85_M_XkjJS&pai;%P%q6w>J_FtJHGXqpaHJW&Eo()Io$ zkpq2t-@#rTj*2+-5<>6&)WOJsXpgf*o=E`;&g$rW8hOxqj|hE#>`-?krXT9>KiW5- z4@A0Sedtx5WEsg9WQ%WpcEw1<%{U#235Oj=Ufc&_+{I{VoqB;Pokw8wL_VvJ$1@2$ z9uqwTT8U&vFXRpA;!^7{NFWdA^W;VzyU}$xUBdywV>cDg(l}4=IGZNa{8ZYE4+EMx z3&%MJM}LgmgiteC(@@7U1$82qoiK9dl#LoLB;ov3GC@?NJKAE#$AnZLkLSmQnwZK! z6&9K~tK>c-mrrIh4nc>qoRNy70p%uArchv{%rb}Q3Kgbz8m6rKT6qsL{?fsv2lr4b@j8o<*XvX) zbvciC2Yhgi%=Ww=k+4vx2Rt1BgUES`FSA;9Cn%Qd0ol)5R};y`mm?Z zf`HEuY|raYMqGzr;`Xy15;x+aX<-;Z4Oyv}E==Y|uyd_8XH{(E>Zjo3l>46 literal 0 HcmV?d00001 diff --git a/sig b/sig index 4284122..a3ee9da 100755 --- a/sig +++ b/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" diff --git a/main.c b/src/main.c similarity index 100% rename from main.c rename to src/main.c