diff --git a/default.config b/default.config index a10d908..bc41b57 100644 --- a/default.config +++ b/default.config @@ -1,8 +1,9 @@ #!/bin/bash -CBUILD_VERSION=2 +CBUILD_VERSION=3 CONFIG_VERSION=1 PROJECT="NULL" +echo "reading $PROJECT default config..." CMP_C=gcc CMP_CPP=g++ STD_C=c11 @@ -11,8 +12,8 @@ WARN_C="-Wall -Wno-discarded-qualifiers" WARN_CPP="-Wall" SRC_C="$( find src -name '*.c')" SRC_CPP="$( find src -name '*.cpp')" -TESTS_C="$( find tests -name '*.c')" -TESTS_CPP="$(find tests -name '*.cpp')" +TESTS_C=""#"$( find tests -name '*.c')" +TESTS_CPP=""#"$(find tests -name '*.cpp')" OUTDIR=bin OBJDIR=obj diff --git a/init.sh b/init.sh index 6b81a93..cf20746 100644 --- a/init.sh +++ b/init.sh @@ -30,11 +30,11 @@ source current.config # checking versions if [ ! $CBUILD_VERSION -eq $DEFAULT_CBUILD_VERSION ]; then - printf "${RED}Your config was created for outdated cbuild version\n${GRAY}" + printf "${RED}config was created for outdated cbuild version\n${GRAY}" exit fi if [ ! $CONFIG_VERSION -eq $DEFAULT_CONFIG_VERSION ]; then - printf "${RED}Your config version isn't correct\n${GRAY}" + printf "${RED}config version isn't correct\n${GRAY}" exit fi