migration to gitea and cbuild 2.1
This commit is contained in:
3
tasks/clean_additions.sh
Normal file → Executable file
3
tasks/clean_additions.sh
Normal file → Executable file
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
try_delete_dir_or_file fonts/generated
|
||||
try_delete_dir_or_file libs/fonts_embedded.a
|
||||
|
||||
2
tasks/embed_fonts.sh
Normal file → Executable file
2
tasks/embed_fonts.sh
Normal file → Executable file
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
cd fonts
|
||||
SRC_C=""
|
||||
HEADER="generated/fonts_embedded.h"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# compile fonts
|
||||
if [ ! -f libs/fonts_embedded.a ]; then
|
||||
if ! make embed_fonts; then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
set -x
|
||||
# copy precompiled static libs to objects
|
||||
static_libs=$(find "libs/" -name '*.a')
|
||||
[[ -n "$static_libs" ]] && cp $static_libs "$OBJDIR/libs/"
|
||||
|
||||
# copy precompiled shared libs to outdir
|
||||
if [ "$OS" == 'WINDOWS' ]; then
|
||||
dynamic_libs=$(find "libs/" -name '*.dll')
|
||||
else
|
||||
dynamic_libs=$(find "libs/" -name '*.so')
|
||||
fi
|
||||
[[ -n "$dynamic_libs" ]] && cp $dynamic_libs "$OUTDIR/"
|
||||
set +x
|
||||
Reference in New Issue
Block a user