File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,9 @@ unreleased
127127 preprocessing actions
128128 (#1812 , fixes #1811 , @diml )
129129
130+ - Add ` DUNE_PROFILE ` environment variable to easily set the profile. (#1806 ,
131+ @rgrinberg )
132+
1301331.6.2 (05/12/2018)
131134------------------
132135
Original file line number Diff line number Diff line change @@ -259,9 +259,12 @@ let term =
259259 `Error
260260 (true , " --dev is no longer accepted as it is now the default." )
261261 and profile =
262+ let doc =
263+ " Build profile. dev if unspecified or release if -p is set." in
262264 Arg. (value
263265 & opt (some string ) None
264266 & info [" profile" ] ~docs
267+ ~env: (Arg. env_var ~doc " DUNE_PROFILE" )
265268 ~doc:
266269 (sprintf
267270 {| Select the build profile, for instance $ (b,dev) or
You can’t perform that action at this time.
0 commit comments