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 authored and domenic committed May 29, 2018
1 parent 88179f2 commit efd5cda
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
19 changes: 10 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
node_modules/
npm-debug.log
index.html
/node_modules/
/npm-debug.log
/index.html

console_spec_id_rsa
deploy.sh
deploy_key
console.spec.whatwg.org/
.DS_Store
.idea
/console_spec_id_rsa
/deploy.sh
/deploy_key
/console.spec.whatwg.org/
/.DS_Store
/.idea
/review.sh
13 changes: 9 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
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
EXTRA_FILES="images/*.*" \
bash ./deploy.sh

review: index.bs
curl --remote-name --fail https://resources.whatwg.org/build/review.sh
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 efd5cda

Please sign in to comment.