Created
February 15, 2013 03:19
-
-
Save tototoshi/4958335 to your computer and use it in GitHub Desktop.
こんな感じで watchSources に含めないファイルのパターンをどっかで設定したい
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._,Keys._ | |
import PlayProject._ | |
object Build extends sbt.Build { | |
val appName = "hoge" | |
val appVersion = "1.0-SNAPSHOT" | |
val appDependencies = Seq ( | |
) | |
val main = PlayProject(appName, appVersion, appDependencies, mainLang=SCALA).settings( | |
watchSources ~= { | |
val patterns = io.Source.fromFile(".playignore").getLines........ | |
_.filterNot(f => patterns.match(f)) | |
)} | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
コードはテキトーです