Run crystal tool format --check on Travis CI (#518)
This commit is contained in:
parent
6cf2b40ca8
commit
1fa87761a4
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ crystal:
|
|||
script:
|
||||
- crystal spec
|
||||
- crystal spec --release --no-debug
|
||||
- crystal tool format --check
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
|
|
|
@ -25,7 +25,7 @@ module Kemal
|
|||
#
|
||||
# If *port* is not given Kemal will use `Kemal::Config#port`
|
||||
#
|
||||
# To use custom command line arguments, set args to nil
|
||||
# To use custom command line arguments, set args to nil
|
||||
#
|
||||
def self.run(port : Int32? = nil, args = ARGV, &block)
|
||||
Kemal::CLI.new args
|
||||
|
|
Loading…
Reference in a new issue