mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 04:35:41 +03:00
Ports: Add './package.sh shell' to get a shell with the build env set
This commit is contained in:
parent
e72448888b
commit
f1266335e7
Notes:
sideshowbarker
2024-07-18 10:04:17 +09:00
Author: https://github.com/radare Commit: https://github.com/SerenityOS/serenity/commit/f1266335e74 Pull-request: https://github.com/SerenityOS/serenity/pull/8547
@ -489,13 +489,22 @@ do_all() {
|
||||
do_install "${1:-}"
|
||||
}
|
||||
|
||||
do_shell() {
|
||||
do_installdepends
|
||||
do_fetch
|
||||
do_patch
|
||||
cd "$workdir"
|
||||
bash
|
||||
echo "End of package shell. Back to the User shell."
|
||||
}
|
||||
|
||||
NO_GPG=false
|
||||
parse_arguments() {
|
||||
if [ -z "${1:-}" ]; then
|
||||
do_all
|
||||
else
|
||||
case "$1" in
|
||||
fetch|patch|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showproperty)
|
||||
fetch|patch|shell|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showproperty)
|
||||
method=$1
|
||||
shift
|
||||
do_${method} "$@"
|
||||
|
@ -62,6 +62,10 @@ By default, run `make` with the port's [`makeopts`](#makeopts).
|
||||
|
||||
By default, run `make install` with the port's [`installopts`](#installopts).
|
||||
|
||||
#### `shell`
|
||||
|
||||
Open a shell in the `$workdir` with the build environment set.
|
||||
|
||||
#### `installdepends`
|
||||
|
||||
Install all ports from the port's [`depends`](#depends) list.
|
||||
|
Loading…
Reference in New Issue
Block a user