diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-01-17 11:21:02 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-01-31 14:32:38 +0100 |
commit | 4d67243c4b6aea2038b160091088ca0998d7be90 (patch) | |
tree | 170e344e6582c9f7497e8aa5cdc7afc251699dc8 /compiler | |
parent | fb8854ab6b8b3751b797d01efcbea5b4653007b8 (diff) | |
download | dotty-4d67243c4b6aea2038b160091088ca0998d7be90.tar.gz dotty-4d67243c4b6aea2038b160091088ca0998d7be90.tar.bz2 dotty-4d67243c4b6aea2038b160091088ca0998d7be90.zip |
Allow custom project name
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/src/dotty/tools/dotc/config/ScalaSettings.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala b/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala index 687b44815..e4c90789c 100644 --- a/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala +++ b/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala @@ -220,11 +220,11 @@ class ScalaSettings extends Settings.SettingGroup { sys.props("user.dir") ) - val DocTitle = StringSetting ( - "-Ydoc-title", - "title", - "The overall name of the Scaladoc site", - "" + val projectName = StringSetting ( + "-project", + "project title", + "The name of the project", + sys.props("user.dir").split(sys.props("file.separator")).last ) val DocVersion = StringSetting ( |