diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-10-31 10:48:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-10-31 10:48:40 +0200 |
commit | 051b82faceb98f431a12e2d81992d53f97c4153a (patch) | |
tree | 3e388873652ae07a677f47abef3aa5186535b13d /bdep | |
parent | b76178a33178a6385bf0a9ee695b54e7992117a1 (diff) |
Warn if publishing with a staged toolchain
Diffstat (limited to 'bdep')
-rw-r--r-- | bdep/publish.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bdep/publish.cxx b/bdep/publish.cxx index 32687d5..e46ac88 100644 --- a/bdep/publish.cxx +++ b/bdep/publish.cxx @@ -179,6 +179,10 @@ namespace bdep << " control: " << *ctrl; } +#ifdef BDEP_STAGE + warn << "publishing using staged build2 toolchain"; +#endif + if (!yn_prompt ("continue? [y/n]")) return 1; } |