-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FileGlobs.py: Recursively extract .npmignore globs
Looks for .npmignore in dirs and subdirs recursively and extract file globs Closes #109
- Loading branch information
1 parent
4520477
commit ac83598
Showing
12 changed files
with
164 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
11 changes: 11 additions & 0 deletions
11
tests/generation/file_globs_npmignore_testfiles/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
# Start of gitignore | ||
buildtest | ||
ignore.c | ||
/testignore | ||
/upload.c | ||
/*.py | ||
*.pyc | ||
__pycache__ | ||
# End of gitignore | ||
|
5 changes: 5 additions & 0 deletions
5
tests/generation/file_globs_npmignore_testfiles/other_folder/.npmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
#Start of npmignore | ||
*.html | ||
#End of npmignore | ||
|
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions
5
tests/generation/file_globs_npmignore_testfiles/sample_data/data/.npmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
#Start of npmignore | ||
*.css | ||
#End of npmignore | ||
|
Empty file.
Empty file.
Empty file.