roxide 0.2.20

A better rm command for your terminal
ver := `grep '^version =' Cargo.toml | sed 's/version = "\(.*\)"/\1/'`

dev:
  nix develop ./nix/dev --command fish

test:
  cargo test

build:
  cargo build --release

remote-run:
  nix run github:abhi-xyz/roxide -- help

push:
  cargo fmt --all -v 
  cargo test
  cargo build --release
  git add -A && git commit -m 'refacoring' && git push

build-dev:
  cargo build --release --features extra_commands

update-rust-analyzer:
  rustup component add rust-analyzer

build-release:
  cargo build --release

install:
  cargo install --path .

release:
  cargo fmt --all -v 
  cargo test
  cargo build --release
  cargo install --path .
  git tag v{{ver}}
  git add -A && git commit -m 'new release' && git push
  git push --tags
  cargo publish