Class: Kompo::KompoVfsPath
- Inherits:
-
Taski::Section
- Object
- Taski::Section
- Kompo::KompoVfsPath
- Defined in:
- lib/kompo/tasks/kompo_vfs_path.rb
Overview
Section to get the kompo-vfs library path. Priority:
1. Local directory (if specified via context[:local_kompo_vfs_path])
2. macOS: Homebrew (required)
3. Linux: Build from source
Defined Under Namespace
Classes: FromHomebrew, FromLocal, FromSource
Instance Method Summary collapse
Instance Method Details
#impl ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/kompo/tasks/kompo_vfs_path.rb', line 16 def impl # Priority 1: Local directory if specified return FromLocal if Taski.args[:local_kompo_vfs_path] # macOS: Homebrew is required if darwin? check_homebrew_available! return FromHomebrew end # Linux: Build from source FromSource end |