Giter Club home page Giter Club logo

make-help's People

Contributors

gibatronic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

make-help's Issues

doesn't work with locally installed dependencies?

When I try to use it as a locally installed dependency, I get:

./node_modules/.bin/make-help: line 45: cd: ../make-help/bin: No such file or directory
./node_modules/.bin/make-help: line 45: cd: /Users/Storm/dev/contentshq/api/../lib: No such file or directory
awk: can't open file /Users/Storm/dev/contentshq/api/commented-targets.awk
 source line number 1 source file /Users/Storm/dev/contentshq/api/commented-targets.awk
 context is
     >>>  <<< 

Would love to use this, but I'd like to install it locally so that it doesn't add a hidden global dependency to the current project.

read makefile from stdin

allow the user to pass a makefile through stdin, so it's possible to call make-help like this:

# pipe
cat path/to/Makefile | make-help
echo 'makefile contents' | make-help

# redirect
make-help < path/to/Makefile
make-help <<< 'makefile contents'

Sometimes make-help fails with "out of memory for RE run time stack"

When I run:

$ make

with the following Makefile:

.DEFAULT_GOAL := help

.PHONY: build \
        go \
        help

.SILENT:

# generate binaries and assets
build: go

# generate ad-insert-ui binary
go:
        tasks/go

# show some help
help:
        tasks/help

I got the following output (sometimes it just take long without output):

  Usage:
    make <target>

  Targets:
out of memory for RE run time stack

If I remove the comment above the build target, then it works, but build it's not listed:

$make

  Usage:
    make <target>

  Targets:
    go:    generate ad-insert-ui binary
    help:  show some help
$ npm --version
3.6.0

$ node --version
v5.6.0

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.