chore: remove Ruby implementation and tooling
This commit is contained in:
14
bin/homesick
14
bin/homesick
@@ -1,9 +1,11 @@
|
||||
#!/usr/bin/env ruby
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
require 'pathname'
|
||||
lib = Pathname.new(__FILE__).dirname.join('..', 'lib').expand_path
|
||||
$LOAD_PATH.unshift lib.to_s
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
repo_root="$(cd "$script_dir/.." && pwd)"
|
||||
|
||||
require 'homesick'
|
||||
if [[ -x "$repo_root/dist/homesick-go" ]]; then
|
||||
exec "$repo_root/dist/homesick-go" "$@"
|
||||
fi
|
||||
|
||||
Homesick::CLI.start
|
||||
exec go run "$repo_root/cmd/homesick" "$@"
|
||||
|
||||
Reference in New Issue
Block a user