-
Couldn't load subscription status.
- Fork 2
Open
Description
Improve bindown init to:
-
Add
cacheandinstall_dirto.bindown.yamlif they are set to non-default. -
Add
cacheandinstall_dirdirectories to.gitignore.
Need to add an --install-dir param to init. It can use the global --cache option param for setting the cache dir. It
also needs a --no-gitignore param to prevent it.
The .gitignore file should be in the same directory as .bindown.yaml even if it is in a subdirectory of the git
repo.
The algorithm for .gitignore should be something like:
- If
gitisn't available in PATH, abort - If
.bindown.yamlisn't being created inside a git repo, abort - For each directory of
cacheandinstall_dir- Use
git check-ignoreto see if the directory is already ignored. If so continue to next directory. - Append the directory to
.gitignorein the same directory as.bindown.yaml
- Use
Metadata
Metadata
Assignees
Labels
No labels