diff options
| author | mo khan <mo@mokhan.ca> | 2021-02-04 21:23:28 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-02-04 21:23:28 -0700 |
| commit | 57a173e579839973a91faa807568fee3e64bbcb3 (patch) | |
| tree | 0587ec5e549580cdef40f32207e65d4073decb7c /bin | |
| parent | 299198422219c0c2721d824922e68272b1be5dd7 (diff) | |
chore: update ci config
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/cibuild | 22 | ||||
| -rwxr-xr-x | bin/console | 7 | ||||
| -rwxr-xr-x | bin/lint | 5 | ||||
| -rwxr-xr-x | bin/setup | 10 | ||||
| -rwxr-xr-x | bin/shipit | 4 | ||||
| -rwxr-xr-x | bin/style | 8 | ||||
| -rwxr-xr-x | bin/test | 1 |
7 files changed, 15 insertions, 42 deletions
diff --git a/bin/cibuild b/bin/cibuild deleted file mode 100755 index 4990224..0000000 --- a/bin/cibuild +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -set -e -[ -z "$DEBUG" ] || set -x - -cd "$(dirname "$0")/.." - -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 -export CIBUILD=1 - -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 diff --git a/bin/console b/bin/console index 3a6e116..520b0ca 100755 --- a/bin/console +++ b/bin/console @@ -4,12 +4,5 @@ require 'bundler/setup' require 'net/hippie' -# 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(__FILE__) diff --git a/bin/lint b/bin/lint deleted file mode 100755 index 054c5c8..0000000 --- a/bin/lint +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -set -e - -bundle exec rake lint @@ -1,7 +1,7 @@ -#!/usr/bin/env bash -set -euo pipefail -IFS=$'\n\t' +#!/bin/sh +set -e +[ -z "$DEBUG" ] || set -x + +cd "$(dirname "$0")/.." -ruby -v -gem install bundler -v '~> 2.0' bundle install @@ -1,10 +1,8 @@ #!/bin/sh set -e +[ -z "$DEBUG" ] || set -x cd "$(dirname "$0")/.." -[ -z "$DEBUG" ] || set -x - -bin/cibuild bundle exec rake release diff --git a/bin/style b/bin/style new file mode 100755 index 0000000..23fa24d --- /dev/null +++ b/bin/style @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e +[ -z "$DEBUG" ] || set -x + +cd "$(dirname "$0")/.." + +bundle exec rake rubocop @@ -1,6 +1,7 @@ #!/bin/sh set -e +[ -z "$DEBUG" ] || set -x cd "$(dirname "$0")/.." |
