Skip to content

Commit

Permalink
Meta: Review Draft infrastructure
Browse files Browse the repository at this point in the history
See whatwg/whatwg.org#197 and whatwg/meta#92 for details.

This also updates the web-platform-tests and IRC URLs.
  • Loading branch information
annevk committed May 29, 2018
1 parent 59b6158 commit c6224b8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ deploy_key
deploy_key.pub
deploy.sh
mimesniff.html
review.sh
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
local: mimesniff.bs
bikeshed spec mimesniff.bs mimesniff.html --md-Text-Macro="SNAPSHOT-LINK LOCAL COPY"

remote: mimesniff.bs
curl https://api.csswg.org/bikeshed/ -f -F [email protected] > mimesniff.html -F md-Text-Macro="SNAPSHOT-LINK LOCAL COPY"

local: mimesniff.bs
bikeshed spec mimesniff.bs mimesniff.html --md-Text-Macro="SNAPSHOT-LINK LOCAL COPY"

deploy: mimesniff.bs
curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh && bash ./deploy.sh

review: mimesniff.bs
curl --remote-name --fail https://resources.whatwg.org/build/review.sh && bash ./review.sh
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ This repository hosts the [MIME Sniffing Standard](https://mimesniff.spec.whatwg

### Code of conduct

We are committed to providing a friendly, safe and welcoming environment for all. Please read and
We are committed to providing a friendly, safe, and welcoming environment for all. Please read and
respect the [WHATWG Code of Conduct](https://whatwg.org/code-of-conduct).

### Contribution opportunities
Expand All @@ -11,7 +11,7 @@ Folks notice minor and larger issues with the MIME Sniffing Standard all the tim
help fixing those. Pull requests for typographical and grammar errors are also most welcome.

We'd be happy to mentor you through this process. If you're interested and need help getting
started, leave a comment on the issue or ask around [on IRC](https://wiki.whatwg.org/wiki/IRC).
started, leave a comment on the issue or ask around [on IRC](https://whatwg.org/irc).

### Pull requests

Expand All @@ -22,12 +22,11 @@ reading through the [WHATWG FAQ](https://whatwg.org/faq) if you are new here.
Please add your name to the Acknowledgments section in your first pull request, even for trivial
fixes. The names are sorted lexicographically.

If you want to preview the spec locally, you can either use a locally installed copy of
[Bikeshed](https://github.com/tabatkins/bikeshed) by running `make` or use the HTTP API version by
running `make remote`.
### Building "locally"

If you want to do a complete "local deploy" including commit and/or branch snapshots, run
`make deploy`.
For quick local iteration, run `make`. To verify your changes locally, run `make deploy`. See more
in the
[WHATWG Contributor Guidelines](https://github.com/whatwg/meta/blob/master/CONTRIBUTING.md#building).

### Merge policy

Expand All @@ -37,4 +36,4 @@ If you can commit to this repository, see the
### Tests

Tests can be found in the `mimesniff/` directory of
[`web-platform-tests`](https://github.com/w3c/web-platform-tests).
[`web-platform-tests/wpt`](https://github.com/web-platform-tests/wpt).

0 comments on commit c6224b8

Please sign in to comment.