From 7ac01e8ab0d538d0e688b8ba54c7e5f9699ef9f3 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sat, 25 Mar 2017 14:38:58 -0700 Subject: [PATCH] Document profiles. --- documentation/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/index.html b/documentation/index.html index 6332547..373a433 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -941,14 +941,14 @@ Now, all you need to do is to upload your package: line parameters.

- You start by defining boolean values initialized to false in your build file: + You start by defining the profiles in your build file as follows:

-  val experimental = false
-  val premium = false
+  val experimental by profile()
+  val premium by profile()
 

- Then you use this variable wherever you need it in your build file: + These variables are of type Boolean and you can use them anywhere in your build file:

   val p = project {