/devrc-plugin-system-shell

system shell plugin for devrc

Primary LanguageRust

devrc shell plugin

Crates.io Crates.io CI Security audit Minimum supported Rust version Lines Of Code LICENSE

Overview

Demo devrc plugin for performing tasks in the system shell.

Installation

To install devrc-plugin-system-shell, you can download a pre-compiled binary, or you can compile it from source.

Compile from sources

GitHub GitHub

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

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

Usage

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"