File: run_rubocop_specs

package info (click to toggle)
ruby-whitequark-parser 3.3.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,848 kB
  • sloc: yacc: 40,706; ruby: 20,588; makefile: 12; sh: 8
file content (13 lines) | stat: -rwxr-xr-x 248 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

set -eux

bundle exec rake generate

git clone https://github.com/rubocop-hq/rubocop.git --depth=1
cd rubocop
export BUNDLE_GEMFILE=Gemfile
echo "gem 'parser', path: '../'" > Gemfile.local

bundle install
bundle exec rake spec