Skip to content

Commit

Permalink
Improve JRuby startup time with --dev flag
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins committed Apr 6, 2016
1 parent 0c0d9b5 commit 4865db8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ sudo: false

cache: bundler

env:
global:
# Improves JRuby startup time.
# See https://github.com/jruby/jruby/wiki/Improving-startup-time
- "JRUBY_OPTS=--dev"

rvm:
- 1.9.3
- 2.0.0
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ Command Line Flag | Description
`--show-linters` | Show all available linters
`-v`/`--version` | Show version

When running `scss-lint` with JRuby, using JRuby's
[`--dev` flag](https://github.com/jruby/jruby/wiki/Improving-startup-time)
will probably improve performance.

## Configuration

`scss-lint` loads configuration in the following order of precedence:
Expand Down

0 comments on commit 4865db8

Please sign in to comment.