Skip to content

Commit

Permalink
Change executable directory
Browse files Browse the repository at this point in the history
  • Loading branch information
vitobotta committed Apr 14, 2024
1 parent a0d988a commit 05dbcb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bin/hetzner-k3s.rb → exe/hetzner-k3s
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/env ruby
#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"
require "hetzner_k3s"

puts "Hello, #{ARGV[0] || 'World'}"
2 changes: 1 addition & 1 deletion hetzner-k3s.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
end
end
spec.bindir = "bin"
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

Expand Down

0 comments on commit 05dbcb0

Please sign in to comment.