Skip to content
/ coenv Public

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

Notifications You must be signed in to change notification settings

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

No packages published

Languages