Update crono.gemspec

This commit is contained in:
Dzmitry Plashchynski
2022-05-29 19:44:44 +03:00
parent e6f5e4299b
commit ae78de420f
5 changed files with 28 additions and 50 deletions

View File

@@ -1,14 +0,0 @@
#!/usr/bin/env ruby
require "bundler/setup"
require "crono"
# 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.
# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start
require "irb"
IRB.start

14
bin/crono Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env ruby
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'crono/cli'
begin
Crono::CLI.instance.run
rescue => e
raise e if $DEBUG
STDERR.puts e.message
STDERR.puts e.backtrace.join("\n")
exit 1
end

View File

@@ -1,7 +0,0 @@
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
bundle install
# Do any other automated setup that you need to do here