Commit Graph

132 Commits (master)

Author SHA1 Message Date
Edwin Kofler df95293fcd fix: Improve message when installing no packages 9 months ago
Edwin Kofler 9c34a8f0d8 fix: Interpret most escape sequence within JSON strings 9 months ago
Sam Likins 91ef3ff1c8
Fix run passing parameters to command. (#162) 11 months ago
Sam Likins 79481450fe
List Commands with Descriptions (#161)
* Updated `utils.sh` with `bpkg_exec_exist` and `bpkg_exec_or_exit`.
* Updated scripts with `bpkg_exec_or_exit`.
* Updated `install.sh` to utilize utility functions.
* Updated `runner` in `run.sh`.
* Added `--list` option to `run.sh`.
* Added `commands-description` to `bpkg.json`.
* Updated README TOC and missing `dependencies-dev` section.
* Added `commands-description` section to README.
* Corrected failing shellcheck.
1 year ago
Sam Likins d1e1a76242 Added install development dependencies functionality. 1 year ago
Sam Likins b9b0ec631e Modify local install link:
Changed symbolic link from absolute to relative for compliance in shared containers
1 year ago
Ben Peachey 79bfbceef7 Fix incorrect function export name. 2 years ago
Joseph Werle 7d6278ef57 fix(bpkg-package): remove '-e' in echo when outputing prop value 2 years ago
Joseph Werle 9f60f492e9 fix(bpkg-env): fix missing '=' in 'BPKG_PACKAGE_DESCRIPTION' export 2 years ago
Joseph Werle bf330bec45 fix(bpkg-env): fix 'BPKG_PACKAGE_DESCRIPTION' 2 years ago
Joseph Werle d02dc66d15 fix(bpkg-run): propgate exit code in command 2 years ago
Joseph Werle 8d129a902f fix(bpkg-package): return non-zero on failure 2 years ago
Joseph Werle 2148b2e06b refactor(): clean up useless versions in subcommands 2 years ago
Joseph Werle 1588f1edd3 feat(): introduce 'bpkg-realpath' 2 years ago
jwerle 1bfbdaa125 fix(bpkg-run): fix glob lookup in command runner 2 years ago
jwerle cd903cd9a1 fix(bpkg-install): fix usage of '$BPKG_PACKAGE_DEPS' var 2 years ago
Ben Peachey b2a2e0aa65
Remove `# shellcheck disable=SC2230` directives
This has been resolved from `.shellcheckrc`.
2 years ago
jwerle 39961dc9f6 fix(lib/run/run.sh): encapsulate commands in runner 2 years ago
jwerle ab682e1d46 fix(lib/env/env.sh): look up sources if bpkg path can be resolved 2 years ago
jwerle 1b097711a8 fix(lib/package/package.sh): fix infinite loop when root 2 years ago
jwerle 8595da906a fix(lib/package/package.sh): emit real path 'bpkg_package_path' 2 years ago
jwerle 4eff8f7192 fix(lib/run/run.sh): change directory before running local commnd 2 years ago
jwerle 308b66a5e9 refactor(lib/env/env.sh): introduce 'BPKG_PACKAGE_{PATH,ROOT}' and fully computed 'BPKG_PACKAGE_DEPS' 2 years ago
jwerle 29838c21f5 feat(lib/package/package.sh): introduce 'bpkg_package_path' 2 years ago
jwerle fc6befff37 refactor(lib/package/package.sh): search for relative 'bpkg.json' 2 years ago
jwerle 8126a2cbfa refactor(lib/install/install.sh): support dir path in 'bpkg-install' 2 years ago
jwerle 5cee38b43e refactor(lib/env/env.sh): introduce 'BPKG_FORCE_ACTIONS' 2 years ago
jwerle 457f02d0fa refactor(lib/install/install.sh): install local deps by default, handle many pkgs 2 years ago
jwerle 7950dc0055 fix(bpkg-package): fix package value emission cleanup 2 years ago
jwerle 8eaa0ac051 fix(bpkg-run): use 'eval' for package commands 2 years ago
jwerle 4c854bd241 fix(bpkg-run): fix default arg 2 years ago
jwerle ec8065c22e fix(bpkg-run): fix source emission 2 years ago
jwerle 619edf76ea fix(): fix source emission and errors 2 years ago
jwerle 387c9e93af refactor(): clean up output 2 years ago
jwerle c2f8a2c2be fix(): fix suggestions and false positive 'bpkg-run' rc 2 years ago
jwerle e6e02812c4 fix(suggest): fix stdout leak 2 years ago
jwerle fe8f5c942c fix(): fix broken environment variables 2 years ago
jwerle 563c365bad refactor(lib/lib/env.sh): clean up usage 2 years ago
jwerle c6e2fd1d09 fix(): use '#!/usr/bin/env bash' 2 years ago
jwerle fea1bc2690 fix(lib/run/run.sh): use '-path' instead of '-wholename' 2 years ago
jwerle 33359fccce fix(lib/env/env.sh): fix typo 2 years ago
jwerle c5ecb73298 (bpkg-env): introduce 'bpkg-env 2 years ago
jwerle 2b038c3ffe refactor(lib/run/run.sh): add more env vars for runner 2 years ago
jwerle 7523983418 fix(lib/suggest/suggest.sh): fix usage of 'read' 2 years ago
jwerle 702af11418 fix(lib/run/run.sh): fix preemptive 'BPKG_SCRIPT_SOURCES' 2 years ago
jwerle 5fae8a6785 fix(lib/package/package.sh): correctly handle package introspection 2 years ago
jwerle aee770b699 fix(): fix stderr output redirection 2 years ago
jwerle 35b1b10fb4 fix(lib/install/install.sh): support 'repo' in 'bpkg.json' 2 years ago
jwerle 2324a0ebd7 fix(lib/run/run.sh): fix typo 2 years ago
jwerle edaf0cab93 refactor(): support 'commands' for 'bpkg run' and 'BPKG_SCRIPT_SOURCES' env var 2 years ago