зеркало из https://github.com/github/freno-client.git
Totally remove the script directory in favor of bin
This is Bundler's defaults for a new gem.
This commit is contained in:
Родитель
8be4df6331
Коммит
c59db08c9a
|
@ -8,6 +8,5 @@
|
|||
/pkg/
|
||||
/spec/reports/
|
||||
/tmp/
|
||||
/bin/
|
||||
/vendor/gems
|
||||
.ruby-version
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
set -vx
|
||||
|
||||
bundle exec rake
|
|
@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|||
|
||||
spec.required_ruby_version = ">= 2.5.0"
|
||||
|
||||
spec.files = `git ls-files -z`.split("\x0").grep_v(/^test/)
|
||||
spec.files = `git ls-files -z`.split("\x0").grep_v(/^(bin|test)/)
|
||||
|
||||
spec.add_dependency "faraday", "~> 0"
|
||||
end
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
bundle config --local path vendor/gems
|
||||
|
||||
bundle check > /dev/null 2>&1 || bundle install
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec bundle exec irb -r "freno/client" "$@"
|
14
script/test
14
script/test
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
set -x
|
||||
git log -n 1 HEAD | cat
|
||||
ruby -v
|
||||
bundle -v
|
||||
set +x
|
||||
|
||||
git clean -fd
|
||||
|
||||
script/bootstrap
|
||||
bundle exec rake
|
Загрузка…
Ссылка в новой задаче