jez / bask Goto Github PK
View Code? Open in Web Editor NEW:sunglasses: Bask in the convenience of a task runner for bash
License: Other
:sunglasses: Bask in the convenience of a task runner for bash
License: Other
There is already a bash completion script, and I use zsh, so that's motivation enough.
The documentation here looks quite promising: https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org
Globally:
โ> bask
/usr/bin/bask: line 15: /usr/src/bask.sh: No such file or directory
/usr/bin/bask: line 19: /usr/src/cli.sh: No such file or directory
Locally:
โ> node_modules/.bin/bask
node_modules/.bin/bask: line 15: /var/www/project/node_modules/src/bask.sh: No such file or directory
node_modules/.bin/bask: line 19: /var/www/project/node_modules/src/cli.sh: No such file or directory
The code on github for BINDIR works fine, but the version from npm is doing
BINDIR="$(pushd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null; pwd -P)"
And this doesn't work. Not sure where it's coming from, as it seems to be the same version as the one on github ?
$ brew install jez/formulae/bask
...
$ bask
/usr/local/Cellar/bask/0.9.0/src/bask.sh: line 19: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/Cellar/bask/0.9.0/src/bask.sh: line 30: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/Cellar/bask/0.9.0/src/bask.sh: line 36: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/Cellar/bask/0.9.0/src/bask.sh: line 37: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/Cellar/bask/0.9.0/src/bask.sh: line 39: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/Cellar/bask/0.9.0/src/cli.sh: line 6: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/Cellar/bask/0.9.0/src/cli.sh: line 7: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/Cellar/bask/0.9.0/src/cli.sh: line 10: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/Cellar/bask/0.9.0/src/cli.sh: line 18: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/Cellar/bask/0.9.0/src/cli.sh: line 19: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/Cellar/bask/0.9.0/src/cli.sh: line 20: declare: -g: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
baskfile: line 9: syntax error near unexpected token `}'
baskfile: line 9: `}'
[\e[0m21:43:36.000\e[0m] Available tasks:
[\e[0m21:43:36.000\e[0m] \e[0mfoo\e[0m
OS X 10.11.5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.