Skip to content

Commit ec89fb4

Browse files
authored
Merge pull request #1588 from rust-lang/senekor/blog-generator
Add blog post generator
2 parents cacae9b + 8d5ab1a commit ec89fb4

File tree

12 files changed

+594
-45
lines changed

12 files changed

+594
-45
lines changed

Diff for: .cargo/config.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[alias]
2+
blog = ["run", "--package", "generate_blog"]

Diff for: .github/workflows/snapshot_tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
- run: git fetch --depth 2
2121
- run: git checkout origin/master
2222
- name: Generate good snapshots
23-
run: INSTA_OUTPUT=none INSTA_UPDATE=always cargo test -- --include-ignored
23+
run: INSTA_OUTPUT=none INSTA_UPDATE=always cargo test -p snapshot -- --include-ignored
2424
- run: git checkout $GITHUB_SHA # merge of master+branch
25-
- run: cargo test -- --include-ignored
25+
- run: INSTA_OUTPUT=none INSTA_UPDATE=no cargo test -p snapshot -- --include-ignored

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
/static/styles/fonts.css
1919
/static/styles/noscript.css
2020

21-
/snapshot/src/snapshots
21+
/crates/snapshot/src/snapshots

0 commit comments

Comments
 (0)