summaryrefslogtreecommitdiffhomepage
path: root/pkgtool.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-05-11pkgtool.sh:pkgtoolp_info(): additionally print SHA-256 message digests of ↵Lucio Andrés Illanes Albornoz1-3/+18
patch and/or variable files.
2020-04-29Designate {debug,release} build as build kind.Lucio Andrés Illanes Albornoz1-2/+2
2020-04-25pkgtool.sh:pkgtoolp_info(): additionally print build group.Lucio Andrés Illanes Albornoz1-0/+1
2020-04-25pkgtool.sh:pkgtoolp_rdepends(): print direct reverse dependencies in bright ↵Lucio Andrés Illanes Albornoz1-7/+13
yellow and their dependencies in dark yellow, if any. subr/ex_pkg.subr:ex_pkg_unfold_depends_direct(): initial implementation.
2020-03-15Set -o nounset in addition to +o errexit -o nounset.Lucio Andrés Illanes Albornoz1-2/+2
groups/000.host_tools.group:libtool_host:${PKG_LIBTOOL}: build w/ `none'. subr/build_init.subr:buildp_init_getopts(): set ${DEFAULT_BUILD_CPUS} prior to ex_pkg_load_vars() call. subr/pkg_{build,install_make}.subr: only pass `LIBTOOL=${PKG_LIBTOOL}' if set and not `none'. vars/libtool_host.vars: removes obsolete vars file.
2020-03-15General cleanup.Lucio Andrés Illanes Albornoz1-103/+135
2020-03-13Implements ./pkgtool.sh -[irt] options.Lucio Andrés Illanes Albornoz1-28/+86
etc/{README.md,pkgtool.usage}: updated. subr/ex_pkg.subr:ex_pkg_{find_package,get_packages}(): initial implementation. subr/ex_pkg.subr:ex_pkg_unfold_{,r}depends(): split from ex_pkg_expand_packages(). subr/ex_pkg{,_dispatch}.subr: removes ${EX_PKG_COMPLETE} scoped global. subr/ex_pkg_dispatch.subr:exp_pkg_dispatch_expand_packages(): split from subr/ex_pkg.subr. subr/rtl_list.subr:rtl_lsort(): initial implementation.
2020-03-11pkgtool.sh, subr/{build_init,ex_pkg_exec}.subr: rebuild package, dump & exit ↵Lucio Andrés Illanes Albornoz1-4/+25
if package dump is unavailable. build.sh:buildp_dispatch_fail_pkg(): log --dump-{in,on-abort} messages at `info' level.
2020-03-11Initial implementation of pkgtool.sh.Lucio Andrés Illanes Albornoz1-0/+80
build.sh:build(): move cd(1) to $(dirname "${0}"). etc/{build.usage,README.md}: updated. midipix.env:${DEFAULT_CLEAR_ENV_VARS_EXCEPT}: allow inheriting ARCH, BUILD, BUILD_DLCACHEDIR, BUILD_WORKDIR, and PREFIX* from the environment. pkgtool.sh: initial implementation. subr/build_init.subr:buildp_init_defaults(): allow inheriting ARCH, BUILD, BUILD_DLCACHEDIR, BUILD_WORKDIR, and PREFIX* from the environment. subr/build_init.subr:buildp_init_env(): move cd(1) to $(dirname "${0}"). subr/build_init.subr:buildp_init_files(): correctly pass ${_status} from rtl_check_path_vars(). subr/ex_pkg_exec.subr:ex_pkg_exec(): dump subset of variables and exported variables on build failure and --dump-on-abort. subr/pkgtool_init.subr: adapted from subr/build_init.subr. subr/rtl_complex.subr:rtl_filter_vars(): initial implementation. subr/rtl_string.subr:rtl_subst(): initial implementation.