first commit

This commit is contained in:
2023-02-09 01:56:17 +06:00
commit cdcd18ea66
13 changed files with 182 additions and 0 deletions

13
tasks/pre_build.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [ ! -f "kerep/bin/kerep.a" ] || [ -f .rebuild_kerep ]
then
cd kerep
if ! make "$KEREP_BUILD_TASK"; then
exit 1
fi
cd ..
rm -rf .rebuild_kerep
fi
cp kerep/bin/kerep.a obj/
printf "${GREEN}copied ${CYAN}kerep.a\n"

3
tasks/rebuild_kerep.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
touch .rebuild_kerep
printf "kerep.a will be rebuilt in the next build task"