1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-05-29 04:41:30 +00:00

Release package should contain a license

This commit is contained in:
Karol Stasiak 2018-01-20 23:50:08 +01:00
parent 474639760a
commit 6ad022782b

View File

@ -52,6 +52,8 @@ releaseDist := {
IO.createDirectory(releasesDir) IO.createDirectory(releasesDir)
IO.createDirectory(distDir) IO.createDirectory(distDir)
IO.copyFile(jar, distDir / jar.name) IO.copyFile(jar, distDir / jar.name)
IO.copyFile(base / "LICENSE", distDir / "LICENSE")
IO.copyFile(base / "README.md", distDir / "README.md")
def copyDir(name: String): Unit = { def copyDir(name: String): Unit = {
IO.createDirectory(distDir / name) IO.createDirectory(distDir / name)
IO.copyDirectory(base / name, distDir / name) IO.copyDirectory(base / name, distDir / name)