Skip to content

Commit

Permalink
fix: git-ignore static asset artifacts whether they are links or dirs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kdmccormick committed Jun 3, 2024
1 parent 9284404 commit 69c0b66
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ bin/

### Static assets pipeline artifacts
*.scssc
lms/static/css/
lms/static/certificates/css/
cms/static/css/
common/static/common/js/vendor/
common/static/common/css/vendor/
lms/static/css
lms/static/certificates/css
cms/static/css
common/static/common/js/vendor
common/static/common/css/vendor
common/static/bundles
webpack-stats.json

Expand Down

0 comments on commit 69c0b66

Please sign in to comment.