Skip to content

Commit

Permalink
Move bindir to exe
Browse files Browse the repository at this point in the history
  • Loading branch information
tomohiro committed Apr 12, 2015
1 parent 6446388 commit 992c494
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
10 changes: 6 additions & 4 deletions airplayer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ Gem::Specification.new do |spec|
spec.version = AirPlayer::VERSION
spec.authors = ['Tomohiro TAIRA']
spec.email = ['tomohiro.t@gmail.com']
spec.description = 'Command-line AirPlay video client for Apple TV'

spec.summary = 'Command-line AirPlay video client for Apple TV'
spec.description = 'Command-line AirPlay video client for Apple TV'
spec.homepage = 'https://github.com/Tomohiro/airplayer'
spec.license = 'MIT'

spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/}) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}).map { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_runtime_dependency 'thor'
Expand Down
14 changes: 14 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env ruby

require 'bundler/setup'
require 'airplayer'

# 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
5 changes: 5 additions & 0 deletions bin/setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'

bundle install
File renamed without changes.

0 comments on commit 992c494

Please sign in to comment.