Skip to content

Commit

Permalink
Dev tooling: bin/console, bin/rake, debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Mar 6, 2024
1 parent 243b8c6 commit e5f1dbd
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
source 'https://rubygems.org'
source "https://rubygems.org"

if RUBY_VERSION >= "2.7"
gem "irb"
gem "debug"
end

# Specify your gem's dependencies in marcel.gemspec
gemspec
10 changes: 10 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env ruby
require "bundler/setup"
require "irb"

begin
require "debug"
rescue LoadError
end

IRB.start
5 changes: 5 additions & 0 deletions bin/rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env ruby
require "bundler/setup"
require "rake"

Rake.application.run
5 changes: 5 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
require 'marcel'
require 'pathname'

begin
require 'debug'
rescue LoadError
end

class Marcel::TestCase < Minitest::Test
class << self
def setup(&block)
Expand Down

0 comments on commit e5f1dbd

Please sign in to comment.