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.


Popular posts from this blog

How to create your own simple 3D render engine in pure Java

Solving quadruple dependency injection problem in Angular

Better CLI option parsing in Scala