Skip to content

Commit

Permalink
Add default 'console' and 'setup' commands to bin directory
Browse files Browse the repository at this point in the history
 - Created new command files 'console' and 'setup' under the bin directory, implementing the default content typically found in Ruby Gems.
 - These commands are intended to facilitate development tasks, providing essential tools for developers working with the gem.
  • Loading branch information
shinokaro committed Aug 11, 2024
1 parent e9ce634 commit 7aa94fb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"
require "ocran"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

require "irb"
IRB.start(__FILE__)
8 changes: 8 additions & 0 deletions bin/setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
set -vx

bundle install

# Do any other automated setup that you need to do here

0 comments on commit 7aa94fb

Please sign in to comment.