nodejs / nodejs/gyp-next

Built-in method to get path of current gyp/gypi file?

Open
#129 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
155
Forks
101
Avg merge
6d 2h
Merged PRs (30d)
4

Description

I'm working on a module that helps with build/OS environment checking (similar to autoconf) and would like to have a standardized placement of the file that describes the checking to be done. Ideally the user would just stick the file in the same directory as the relevant gyp that utilizes it, but I'm not sure if the path to the current gyp/gypi (with or without filename included) is available in one way or another?

I've looked through the documentation but don't see anything obvious standing out.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file, test, or entry point. Start by reviewing the documentation and current handling of gyp/gypi file paths; done means determining whether a built-in current-file path is available and documenting or implementing the agreed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.