Skip to content

Commit eb3552b

Browse files
committed
fix: Track svelte dist files and add tests badge to README
The .gitignore had a bare `dist` entry which matched askbot/media/svelte/dist/, preventing the built svelte JS files from being tracked. This caused 26 test failures in CI due to the |media template filter returning None for missing files. Changed `dist` to `/dist` to only ignore the top-level build output directory. Also added GitHub Actions test status badge to README.md.
1 parent 9341ad1 commit eb3552b

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ askbot/skins/common/media/js/closure/google-closure
5050
askbot/skins/common/media/js/jquery.fancybox-1.3.4
5151
askbot/fixtures
5252
*.egg
53-
dist
53+
/dist
5454
*.egg-info
5555
build
5656
askbot/upfiles/

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Github tests](https://github.com/ASKBOT/askbot-devel/actions/workflows/tests.yml/badge.svg)](https://github.com/ASKBOT/askbot-devel/actions/workflows/tests.yml)
2+
13
## Askbot - a Django Q&A forum platform
24

35
This is Askbot project - open source Q&A system, like StackOverflow, Yahoo Answers and some others.

askbot/media/svelte/dist/downvote_comment_prompt.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

askbot/media/svelte/dist/editor_help_panel.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)