Demo devrc plugin for performing tasks in the system shell.
To install devrc-plugin-system-shell
, you can download a pre-compiled binary, or you can compile it from source.
Clone the repository and change it to your working directory.
git clone https://github.com/devrc-hub/devrc-plugin-system-shell.git
cd devrc-plugin-system-shell
rustup update stable
cargo build --release --out-dir /path/to/artifacts
Binary releases are available in the github releases page for macOS, and Linux targets.
The following binaries are available for each release:
- x86_64-unknown-linux-musl
- x86_64-unknown-linux-gnu
- x86_64-apple-darwin
Add the path to the compiled plugin to your devrc file.
devrc_config:
interpreter:
runtime: system-shell
args: ["-c"]
options:
shell: zsh
plugins:
system-shell: ./path/to/plugin.{so,dylib}
task:
desc: "system shell "
run: |
echo "Hello world"