Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve make target completion #3628

Closed

Commits on Dec 7, 2016

  1. Improve make target completion

    - Support completing dynamic make targets.
    - Support completing make targets when using -C/--directory.
    terlar committed Dec 7, 2016
    Configuration menu
    Copy the full SHA
    f55f3b5 View commit details
    Browse the repository at this point in the history
  2. Fix complete make targets string replace

    - Remove the unnecessary echo.
    - Support `-Cdir/path`, `-C dir/path`
    - Support `--directory=dir/path`, `--directory dir/path`
    terlar committed Dec 7, 2016
    Configuration menu
    Copy the full SHA
    6bbf756 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5e8c701 View commit details
    Browse the repository at this point in the history
  4. Fix print make targets with non-English locale

    Since we filter by text that is localized we need to ensure the correct
    locale is used.
    terlar committed Dec 7, 2016
    Configuration menu
    Copy the full SHA
    b8dae97 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2016

  1. Support for BSD make

    This detects if the make command have the `-p` switch otherwise it
    assumes it is BSD make and will run a different command to try to figure
    out the available targets.
    terlar committed Dec 13, 2016
    Configuration menu
    Copy the full SHA
    18e35b0 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2016

  1. Fix print make targets

    Suppress the output both to stdout and stderr in the check for the
    option. Also provide the directory (`C`) instead of utilizing an empty
    Makefile.
    
    It seems the empty Makefile (`/dev/null`) returns status code 1 which
    fails the check and means that it will always be assumed to be FreeBSD.
    terlar committed Dec 19, 2016
    Configuration menu
    Copy the full SHA
    4816030 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2016

  1. Use dry run in BSD make check

    We don't want to run the default make target when testing for the command.
    terlar committed Dec 21, 2016
    Configuration menu
    Copy the full SHA
    7a542a3 View commit details
    Browse the repository at this point in the history