mirror of https://github.com/tildeio/helix
Add top-level rake task
This commit is contained in:
parent
8a602f11e3
commit
66dd520bcf
|
@ -36,7 +36,7 @@ install:
|
|||
- bash ./scripts/ci-install
|
||||
|
||||
test_script:
|
||||
- bash ./scripts/ci-test
|
||||
- rake
|
||||
|
||||
notifications:
|
||||
- provider: Slack
|
||||
|
|
|
@ -41,7 +41,7 @@ install:
|
|||
- ./scripts/ci-install
|
||||
|
||||
script:
|
||||
- ./scripts/ci-test
|
||||
- rake
|
||||
|
||||
notifications:
|
||||
slack:
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
task :test do
|
||||
cd "ruby" do
|
||||
sh "bundle exec rake"
|
||||
end
|
||||
|
||||
examples = ENV["EXAMPLES"] || "calculator console membership turbo_blank"
|
||||
|
||||
sh "./examples/runner default #{examples}"
|
||||
end
|
||||
|
||||
task :default => :test
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
set -e
|
||||
|
||||
DIR=$(dirname "${BASH_SOURCE[0]}")/..
|
||||
|
||||
pushd "$DIR/ruby"
|
||||
bundle exec rake
|
||||
popd
|
||||
|
||||
$DIR/examples/runner default $EXAMPLES
|
Loading…
Reference in New Issue