Require bundle package after install (#863)

* Require bundle package after install

* Require bundle package after install

* Require bundle package after install

* Require bundle package after install

* Require bundle package after install

* Require bundle package after install

* remove whitespace

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>

Co-authored-by: Derek W. Stavis <dekestavis@gmail.com>
Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
pull/894/head
Karan Verma 2 years ago committed by GitHub
parent ab05441000
commit b27b3b5aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,9 +17,16 @@ function omf.bundle.install
test -n "$name_or_url"; or continue
set name (omf.packages.name $name_or_url)
if not contains $name $packages
omf.packages.install $name_or_url;
and begin
test $type = package
and begin
require $name
or echo "Failed to require package: $name"
end
or true
end
or set error
end
end

Loading…
Cancel
Save