Commit b27b3b5a authored by Karan Verma's avatar Karan Verma Committed by GitHub

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: default avatarPablo Aguiar <scorphus@gmail.com>
Co-authored-by: default avatarDerek W. Stavis <dekestavis@gmail.com>
Co-authored-by: default avatarPablo Aguiar <scorphus@gmail.com>
parent ab054410
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment