build: git-ignore static asset artifacts whether they are links or dirs

Remove the trailing slashes from the .gitignore entries for static asset
build artifacts. With these slashes, only directory contents are
ignored. Without these slashes, the artifact is ignored whether it is a
directory *or* an actual file (particularly, in our case: a symlink).

This allows us to build edx-platform static assets into a separate
directory, and then symlink to them from edx-platform.

Also: We remove the duplicate cms/static/css/ gitignore entry.
This commit is contained in:
Kyle D. McCormick
2024-06-03 08:50:26 -04:00
committed by Kyle McCormick
parent 97a9f08a9f
commit 1f41529a76
2 changed files with 5 additions and 7 deletions

View File

@@ -102,7 +102,6 @@ common/test/data/badges/*.png
### Static assets pipeline artifacts
**/*.scssc
lms/static/css/
!lms/static/css/vendor
lms/static/certificates/css/
cms/static/css/
common/static/common/js/vendor/