Describe your idea/feature/enhancement
It appears the EXCLUDED_FILES is hardcoded.
It would be delightful if this could be extended/modified. I have many files and directories which are ignored by my own .gitignore but these continue to be included in the build directory by SAM. (build/, .eggs/, .ipython/, .ipynb_checkpoints/, dist/, package.json, package-lock.json, etc, etc)
Then there are files that shouldn't be ignored by git but should be ignored during the build such as a tests directory.
Furthermore, I don't actually want to ignore .git/ b/c I use setuptools-scm to control versioning with git, and during the build that fails because it has no git context.
Proposal
Add configuration ability to override or extend with existing .gitignore or with own list, ie a .samignore file
Describe your idea/feature/enhancement
It appears the EXCLUDED_FILES is hardcoded.
It would be delightful if this could be extended/modified. I have many files and directories which are ignored by my own
.gitignorebut these continue to be included in the build directory by SAM. (build/,.eggs/,.ipython/,.ipynb_checkpoints/,dist/,package.json,package-lock.json, etc, etc)Then there are files that shouldn't be ignored by git but should be ignored during the build such as a
testsdirectory.Furthermore, I don't actually want to ignore
.git/b/c I use setuptools-scm to control versioning with git, and during the build that fails because it has no git context.Proposal
Add configuration ability to override or extend with existing
.gitignoreor with own list, ie a.samignorefile