paramètres par défaut pour dkbuild

This commit is contained in:
Jephté Clain 2025-02-06 11:22:26 +04:00
parent 056ae579a9
commit 7611760c3c
2 changed files with 7 additions and 0 deletions

View File

@ -1173,6 +1173,9 @@ function load_dkbuild() {
local CONFIG="$CONFIG"
local dkbuildenv="$PROJDIR/$(basename "$DKBUILD").env"
cd "$PROJDIR"
set_defaults dkbuild
if [ -n "$CONFIG" -a "$CONFIG" != none ]; then
edebug "loading $CONFIG"
source "$CONFIG"

4
lib/default/dkbuild Normal file
View File

@ -0,0 +1,4 @@
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
# Profil par défaut
#DKBUILD_PROFILE=prod