class
Runcobo::Tasks::Dbmate
- Runcobo::Tasks::Dbmate
- Reference
- Object
Overview
Resolves dbmate for database commands. The pinned release is downloaded only when a command needs it and no installed copy is available, so installing Runcobo as a library never downloads development tools.
Defined in:
tasks/dbmate.crConstant Summary
-
INSTALLER =
{{ read_file("/home/runner/work/runcobo/runcobo/src/tasks/../../scripts/install-dbmate.sh") }}
Constructors
Instance Method Summary
-
#cached : Path
Project-local copy installed on first use.
-
#executable : String
Prefers
runcobo-dbmatebesidecobo(frommake install), thendbmateon the search path, then the project-local pinned copy. -
#install : Nil
The installer exits early when the cached binary matches the pinned checksum, and the lock keeps concurrent commands from racing.
Constructor Detail
Instance Method Detail
Prefers runcobo-dbmate beside cobo (from make install), then
dbmate on the search path, then the project-local pinned copy.
The installer exits early when the cached binary matches the pinned checksum, and the lock keeps concurrent commands from racing.