DannyBen/apicake

View on GitHub
Runfile

Summary

Maintainability
Test Coverage
require 'apicake/version'

title   "API Cake Developer Toolbelt"
summary "Runfile tasks for building the API Cake gem"
version APICake::VERSION

import_gem 'runfile-tasks/gem'
import 'debug'

help   "Run YARD server"
action :yard do
  system "yard server -p3000 -B0.0.0.0 -r"
end

help   "Run test mock server"
usage  "mockserver"
action :mockserver do |args|
  exec "ruby spec/mock_api/server.rb"
end