Skip to content

hasauino/coenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

coenv

coenv is a tool to install a conan package and source/activate it's conan run environment in one shot. Packages can be local, or remote.

βœ… Fast auto-completion for local/remote package names.

βœ… conan 2 (Linux only)

βœ… conan 1, (check conan 1 branch).

It can be really handy for conan packages that include executables and you want to quickly run them.

Install πŸš€

  • Copy and run the following command.
curl "https://raw.githubusercontent.com/hasauino/coenv/conan_2/coenv" --create-dirs -o /home/${USER}/.coenv/coenv && printf "\n# Add coenv command\n. /home/$USER/.coenv/coenv" >> ~/.bashrc && source ~/.bashrc
  • Use coenv πŸ˜‰ (check examples)

Examples

  1. Install and activate (conan virtualenv) a package:

  1. Install a package that appends an executable to PATH :

Remote packages

  • coenv will search local package only for auto-complete suggestions. To make it also show remote packages, you need to run:

    coenv update

    this will update ~/.coenv/index text file that holds all remote package names. You need to run it every now and then if needed! (it's optional)

About

A tool (bash script) for fast installation and activation of conan packages, with auto-complete

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages