diff options
| author | mo khan <mo.khan@gmail.com> | 2020-05-07 13:14:07 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-05-07 13:14:07 -0600 |
| commit | 4547cb88a5808d493223c7261d1beda2cec41b16 (patch) | |
| tree | 9de2a9cb20969b0df04b2414d738a482fa011217 /bin | |
| parent | b1433ffe0b9f139857e92d66fc6475dbe4303ff6 (diff) | |
Clean up build scripts and expression specs
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/cibuild | 12 | ||||
| -rwxr-xr-x | bin/lint | 6 | ||||
| -rwxr-xr-x | bin/setup | 5 | ||||
| -rwxr-xr-x | bin/shipit | 2 | ||||
| -rwxr-xr-x | bin/test | 8 |
5 files changed, 14 insertions, 19 deletions
diff --git a/bin/cibuild b/bin/cibuild index 249c72d..b13d996 100755 --- a/bin/cibuild +++ b/bin/cibuild @@ -2,19 +2,23 @@ set -e +[ -z "$DEBUG" ] || set -x + cd "$(dirname "$0")/.." echo ["$(date "+%H:%M:%S")"] "==> Started at…" -# GC customizations export RUBY_GC_MALLOC_LIMIT=79000000 export RUBY_GC_HEAP_INIT_SLOTS=800000 export RUBY_HEAP_FREE_MIN=100000 export RUBY_HEAP_SLOTS_INCREMENT=400000 export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 -ruby -v -gem install bundler --conservative -v '~> 2.0' -git submodule update --init +echo ["$(date "+%H:%M:%S")"] "==> Running setup…" +bin/setup + +echo ["$(date "+%H:%M:%S")"] "==> Running tests…" bin/test + +echo ["$(date "+%H:%M:%S")"] "==> Running linters…" bin/lint @@ -2,10 +2,6 @@ set -e -[ -z "$DEBUG" ] || set -x +cd "$(dirname "$0")/.." -echo ["$(date "+%H:%M:%S")"] "==> Running setup…" -bin/setup - -echo ["$(date "+%H:%M:%S")"] "==> Running linters…" bundle exec rake lint @@ -2,5 +2,8 @@ set -euo pipefail IFS=$'\n\t' +ruby -v +gem install bundler --conservative -v '~> 2.0' +git submodule update --init bundle check || bundle install --jobs "$(sysctl -n hw.ncpu || nproc)" -bundle exec ./exe/spandx pull +ruby -Ilib ./exe/spandx pull @@ -4,7 +4,5 @@ set -e cd "$(dirname "$0")/.." -[ -z "$DEBUG" ] || set -x - bin/cibuild bundle exec rake release @@ -4,14 +4,8 @@ set -e cd "$(dirname "$0")/.." -[ -z "$DEBUG" ] || set -x - -echo ["$(date "+%H:%M:%S")"] "==> Running setup…" -bin/setup - -echo ["$(date "+%H:%M:%S")"] "==> Running tests…" if [ $# -eq 0 ]; then bundle exec parallel_rspec spec else - bundle exec rspec "$@" + bundle exec rspec --format=progress "$@" fi |
