drun 2.0.1 copy "drun: ^2.0.1" to clipboard
drun: ^2.0.1 copied to clipboard

outdated

A dartlang task runner, write functions and call them in your terminal.

drun #

Pub Version .github/workflows/main.yml semantic-release Conventional Commits KeepAChangelog License

A dartlang task runner, write functions and call them in your terminal.

Installation #

  • Install dartlang https://dart.dev/get-dart
  • Then install drun globally: pub global activate drun
  • Then install drun into your local project where your Makefile.dart resides.

Experimental dart2native binaries #

You may prefer to install the global drun command as single statically compiled binary.

NOTE: You still need the dart SDK installed!

Direct download

Go to https://github.com/brad-jones/drun/releases and download the archive for your Operating System, extract the drun binary and and add it to your $PATH.

Curl Bash

curl -L https://github.com/brad-jones/drun/releases/latest/download/drun-linux-x64.tar.gz -o- | sudo tar -xz -C /usr/bin drun

RPM package

sudo rpm -i https://github.com/brad-jones/drun/releases/latest/download/drun-linux-x64.rpm

DEB package

curl -sLO https://github.com/brad-jones/drun/releases/latest/download/drun-linux-x64.deb && sudo dpkg -i drun-linux-x64.deb && rm drun-linux-x64.deb

Homebrew

https://brew.sh

brew install brad-jones/tap/drun

Scoop

https://scoop.sh

scoop bucket add brad-jones https://github.com/brad-jones/scoop-bucket.git;
scoop install drun;

Usage #

Makefile.dart

import 'package:drun/drun.dart';

Future<void> main(argv) async => drun(argv);

void myTask() {
  print('Mello World');
}

Execute with drun my-task

see ./example/README.md for more details

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A dartlang task runner, write functions and call them in your terminal.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, console, dexeca, dexecve, dotenv, io, path, recase, stack_trace

More

Packages that depend on drun