Merge pull request #36 from softprops/detect-sbt-as-scala-lang

Detect sbt as scala lang
This commit is contained in:
Joshua Peek
2011-07-05 19:41:21 -07:00
2 changed files with 4 additions and 0 deletions

View File

@@ -719,6 +719,7 @@ Sass:
Scala:
type: programming
extensions:
- .sbt
- .scala
Scheme:

View File

@@ -278,6 +278,9 @@ class TestBlob < Test::Unit::TestCase
# https://github.com/drichert/BCR2000.sc/blob/master/BCR2000.sc
assert_equal Language['SuperCollider'], blob("BCR2000.sc").language
# https://github.com/harrah/xsbt/wiki/Quick-Configuration-Examples
assert_equal Language['Scala'], blob('build.sbt').language
# https://github.com/gradleware/oreilly-gradle-book-examples/blob/master/ant-antbuilder/build.gradle
assert_equal Language['Groovy'], blob("build.gradle").language