mirror of
https://github.com/usetrmnl/trmnl-api.git
synced 2026-04-29 13:35:13 -07:00
This includes the following dependencies necessary for this implementation: * link:https://alchemists.io/projects/cogger[Cogger]. * link:https://alchemists.io/projects/containable[Containable]. * link:https://github.com/httprb/http[HTTP]. * link:https://alchemists.io/projects/http-fake[HTTP Fake]. * link:https://alchemists.io/projects/infusible[Infusible]. * link:https://alchemists.io/projects/pipeable[Pipeable]. * link:https://alchemists.io/projects/refinements[Refinements]. Generated with link:https://alchemists.io/projects/gemsmith[Gemsmith] 23.3.0.
18 lines
406 B
Ruby
Executable File
18 lines
406 B
Ruby
Executable File
#! /usr/bin/env ruby
|
|
# frozen_string_literal: true
|
|
|
|
require "debug"
|
|
require "fileutils"
|
|
require "pathname"
|
|
|
|
APP_ROOT = Pathname(__dir__).join("..").expand_path
|
|
|
|
Runner = lambda do |*arguments, kernel: Kernel|
|
|
kernel.system(*arguments) || kernel.abort("\nERROR: Command #{arguments.inspect} failed.")
|
|
end
|
|
|
|
FileUtils.chdir APP_ROOT do
|
|
puts "Installing dependencies..."
|
|
Runner.call "bundle install"
|
|
end
|