aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/config
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-01-17 11:21:02 +0100
committerFelix Mulder <felix.mulder@gmail.com>2017-01-31 14:32:38 +0100
commit4d67243c4b6aea2038b160091088ca0998d7be90 (patch)
tree170e344e6582c9f7497e8aa5cdc7afc251699dc8 /compiler/src/dotty/tools/dotc/config
parentfb8854ab6b8b3751b797d01efcbea5b4653007b8 (diff)
downloaddotty-4d67243c4b6aea2038b160091088ca0998d7be90.tar.gz
dotty-4d67243c4b6aea2038b160091088ca0998d7be90.tar.bz2
dotty-4d67243c4b6aea2038b160091088ca0998d7be90.zip
Allow custom project name
Diffstat (limited to 'compiler/src/dotty/tools/dotc/config')
-rw-r--r--compiler/src/dotty/tools/dotc/config/ScalaSettings.scala10
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 (