Skip to content

Commit

Permalink
Added Taskfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuscher committed Oct 24, 2020
1 parent 47298b3 commit fd0cc60
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Taskfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

function upload {
twine check dist/*
twine upload dist/*
}

function build {
python3 setup.py sdist
}

function clean {
rm -rf dist *.egg-info
}

function default {
help
}

function help {
echo "$0 <task> <args>"
echo "Tasks:"
compgen -A function | cat -n
}

TIMEFORMAT="Task completed in %3lR"
time ${@:-default}

0 comments on commit fd0cc60

Please sign in to comment.