Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions bin/gaku
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ require_relative '../lib/gaku/container'
require_relative '../lib/gaku/command/installer'

class GakuCLI < Thor

desc 'specs', 'Run all specs'
def specs()
Dir.chdir("#{__dir__}/../core") do
system('bundle exec rake test_app')
system('bundle exec rspec spec')
end

Dir.chdir("#{__dir__}/../api") do
system('bundle exec rake test_app')
system('bundle exec rspec spec')
end
end

desc 'version', 'Prints the version of the installed gaku gem (from which this command is being run).'
def version()
require 'rubygems'
Expand Down