Skip to content

Commit

Permalink
fix: Improve message after the env creating
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed Mar 29, 2023
1 parent 1d7fb17 commit b2d8ef2
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ cmake_install.cmake
install_manifest.txt
CTestTestfile.cmake
_deps
libmamba/Makefile
libmamba/libmambaConfig.cmake
libmamba/libmambaConfigVersion.cmake
libmamba/libmambaTargets.cmake
sometestfile.txt

# Clang tools
.cache/
Expand Down
2 changes: 1 addition & 1 deletion libmamba/environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- cxx-compiler
- cmake
- cmake >=3.16
- ninja
- nlohmann_json
- libsolv >=0.7.18
Expand Down
2 changes: 1 addition & 1 deletion libmamba/environment-static-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- cxx-compiler
- cmake
- cmake >=3.16
- ninja
- yaml-cpp-static
- spdlog
Expand Down
5 changes: 5 additions & 0 deletions libmamba/src/core/transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,11 @@ namespace mamba
LOG_INFO << "Waiting for pyc compilation to finish";
m_transaction_context.wait_for_pyc_compilation();
Console::stream() << "Transaction finished";
Console::stream() << "\nTo activate this environment, use:";
Console::stream() << " $ micromamba activate <placeholder>";
Console::stream() << "\nOr to execute a single command in this environment, use:";
Console::stream() << " $ micromamba run -n <placeholder> mycommand";

prefix.history().add_entry(m_history_entry);
}
return !interrupted;
Expand Down
2 changes: 1 addition & 1 deletion libmambapy/environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- cxx-compiler
- cmake
- cmake >=3.16
- ninja
- nlohmann_json
- libsolv >=0.7.18
Expand Down
2 changes: 1 addition & 1 deletion mamba/environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- cxx-compiler
- cmake
- cmake >=3.16
- ninja
- nlohmann_json
- libsolv >=0.7.18
Expand Down
2 changes: 1 addition & 1 deletion micromamba/environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- cxx-compiler
- cmake
- cmake >=3.16
- ninja
- nlohmann_json
- mitmproxy
Expand Down
2 changes: 1 addition & 1 deletion micromamba/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake # [unix]
- cmake >=3.16 # [unix]
- ninja
- vcpkg # [win]
- python # [win]
Expand Down

0 comments on commit b2d8ef2

Please sign in to comment.