Skip to content

Commit

Permalink
chore: add lenna executable and update gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
aristotelesbr committed Dec 29, 2023
1 parent 4a484c1 commit 1a0b871
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
11 changes: 0 additions & 11 deletions bin/lenna

This file was deleted.

17 changes: 17 additions & 0 deletions exe/lenna
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2023, by Aristóteles Coutinho.

# Require the main file
#
# @private `Since v0.1`
#
require 'lennarb'

# Call the CLI to start the server
#
# @private `Since v0.1`
#
Lenna::Cli::App.run!(ARGV)
1 change: 1 addition & 0 deletions lennarb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
'source_code_uri' => 'https://github.com/aristotelesbr/lennarb'
}

spec.bindir = 'exe'
spec.executables = ['lenna']

spec.files = Dir['{lib}/**/*', '*.md', base: __dir__]
Expand Down

0 comments on commit 1a0b871

Please sign in to comment.