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 URL.
  • Loading branch information
annevk committed May 29, 2018
1 parent 88179f2 commit 606912b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ deploy_key
console.spec.whatwg.org/
.DS_Store
.idea
review.sh
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
SHELL=/bin/bash -o pipefail

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

remote: index.bs
curl https://api.csswg.org/bikeshed/ -f -F file=@index.bs > index.html -F md-Text-Macro="SNAPSHOT-LINK LOCAL COPY"

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

# Don't confuse make given we have files called "local" or "remote" in our root dir
.PHONY: local remote

deploy: index.bs
curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh
EXTRA_FILES="images/*.*" bash ./deploy.sh

review: index.bs
curl --remote-name --fail https://resources.whatwg.org/build/review.sh
EXTRA_FILES="images/*.*" bash ./review.sh
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This specification is still in its very early stages. It is very much a work in

## Tests

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

## Contribution guidelines

Expand All @@ -22,4 +22,4 @@ If you can commit to this repository, see the [WHATWG Maintainer Guidelines](htt

## Code of conduct

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).
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).

0 comments on commit 606912b

Please sign in to comment.