Git Product home page Git Product logo

bask's Issues

Wrong path when installing via npm

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 ?

Does not seem to work well enough with Oh my zsh

$ 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.