Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#215) Prevent rm_non_git_files from rm'ing user's config/env-files
This commit attempts to improve the behaviour of the rm_non_git_files sub-command of run_example.sh . The objective of this command is to clean-up build-outputs and other [stale] artifacts that may have been produced by a prior execution of this script. We may be, inadvertently, also deleting user's config-/env-files that reside in the project's sub-tree. This commit changes the behaviour of rm_non_git_files to now only delete the files registered in the .gitignore list. Also, now "--dry-run rm_non_git_files" will only print an info message without actually deleting all affected files.
- Loading branch information