Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta: Review Draft infrastructure #142

Merged
merged 2 commits into from
May 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 [email protected] > 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).