summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authordumpstate <dumpstate@outlook.com>2015-02-16 00:19:23 +0100
committerAdriaan Moors <adriaan.moors@typesafe.com>2015-04-17 11:37:54 -0700
commit03bce72e72c701532ec344b658b94c4dfcfadcdd (patch)
treede1e1cfea1f063b8826667a4c8298deba9aefcf5 /CONTRIBUTING.md
parent70d041ccc8332fa44d1e8d91b27fab16ba741568 (diff)
downloadscala-03bce72e72c701532ec344b658b94c4dfcfadcdd.tar.gz
scala-03bce72e72c701532ec344b658b94c4dfcfadcdd.tar.bz2
scala-03bce72e72c701532ec344b658b94c4dfcfadcdd.zip
Generate .properties files, pack in jars.
Add an sbt task that generates .properties files that are packaged into jars. The properties file contains Scala version in various formats. The task is registered as a resource generator so sbt can properly track generated files and make sure they are included in packaged jars. The implementation of generateVersionPropertiesFile contains a note on arbitrary order of written properties. We could consider using https://github.com/etiennestuder/java-ordered-properties to guarantee a stable order. Or simply ditch using Properties class and generate a String. Our property files are simple enough that nothing more fancy is needed.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions