Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasauino/coenv
A tool (bash script) for fast installation and activation of conan packages, with auto-complete
https://github.com/hasauino/coenv
conan conan-tools
Last synced: 21 days ago
JSON representation
A tool (bash script) for fast installation and activation of conan packages, with auto-complete
- Host: GitHub
- URL: https://github.com/hasauino/coenv
- Owner: hasauino
- Created: 2023-04-25T20:53:32.000Z (over 1 year ago)
- Default Branch: conan_2
- Last Pushed: 2024-08-08T18:36:05.000Z (5 months ago)
- Last Synced: 2024-10-31T20:07:22.177Z (2 months ago)
- Topics: conan, conan-tools
- Language: Shell
- Homepage:
- Size: 866 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.:white_check_mark: Fast auto-completion for local/remote package names.
:white_check_mark: [conan](https://conan.io/) 2 (Linux only)
:white_check_mark: conan 1, (check [conan 1](https://github.com/hasauino/coenv/tree/conan_1) branch).
It can be really handy for conan packages that include executables and you want to quickly run them.
![](imgs/demo2.gif)
## Install :rocket:
- Copy and run the following command.
```bash
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` :wink: (check examples)
## Examples
1. Install and activate (conan virtualenv) a package:
![](imgs/demo2.gif)
2. Install a package that appends an executable to `PATH` :
![](imgs/demo3.gif)
## Remote packages
- `coenv` will search local package only for auto-complete suggestions. To make it also show remote packages, you need to run:
```bash
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)
![](imgs/demo1.gif)