From 746a9f58fba2d11e9f24eb787117c198499f4a91 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Jan 12 2021 17:39:27 +0000 Subject: devbuild.sh: updated. --- diff --git a/devbuild.sh b/devbuild.sh index fc9cc84..c41f58a 100755 --- a/devbuild.sh +++ b/devbuild.sh @@ -1,15 +1,28 @@ #!/bin/sh -set -eu +devbuild_midipix() { + set -eu -DEV_PACKAGES=\ -musl_no_complex_host,musl_full_host,musl_full,\ -psxtypes,pemagine,dalist,ldso,ntcon,ntapi,\ -psxscl,psxscl_strace,ntctty,ntux,ptycon,toksvc,u16ports,\ -ntctty_minipix,ntux_minipix,ptycon_minipix,toksvc_minipix + DEV_PACKAGES=\ + musl_no_complex_host,musl_full_host,musl_full,\ + psxtypes,pemagine,dalist,ldso,ntcon,ntapi,\ + psxscl,psxscl_strace,ntctty,ntux,ptycon,toksvc,u16ports,\ + ntctty_minipix,ntux_minipix,ptycon_minipix,toksvc_minipix -mb_project_dir=$(cd "$(dirname $0)" ; pwd) -cd "$mb_project_dir" + mb_project_dir=$(cd "$(dirname $0)" ; pwd) + cd "$mb_project_dir" -./build.sh -r ${DEV_PACKAGES} -./build.sh -D minipix + ./build.sh -r ${DEV_PACKAGES} + ./build.sh -D minipix +}; + +devbuild_all() { + ./build.sh -a nt64 -b release -D minipix,rpm,zipdist -F ipv4 -p 6 -v && ./build.sh -a nt64 -b debug -D minipix,rpm,zipdist -F ipv4 -p 6 -v; +}; + +case "${1:-}" in +--all) devbuild_all; ;; +*) devbuild_midipix; ;; +esac; + +# vim:filetype=sh textwidth=0