Distributing your app with sources
Ever wanted a super-easy way for including the sources of your program into your distribution? SBT makes it possible with just one line:
unmanagedResourceDirectories in Compile += new File("src/main/scala")
And now, after you run "package", all your sources would be placed alongside with compiled classes in the .jar.
Comments
Post a Comment