Skip to content

Commit

Permalink
Merge pull request #347 from w3c/osp-network-protocol
Browse files Browse the repository at this point in the history
initial draft of the Open Screen Network Protocol
  • Loading branch information
markafoltz authored Sep 20, 2024
2 parents 9f704d4 + 49200b2 commit 5966ada
Show file tree
Hide file tree
Showing 5 changed files with 933 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,12 @@ jobs:
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-secondscreen/2022Apr/0007.html
W3C_BUILD_OVERRIDE: |
status: WD
- name: Build and validate network.html, push to gh-pages branch if needed
uses: w3c/spec-prod@v2
with:
SOURCE: network.bs
TOOLCHAIN: bikeshed
GH_PAGES_BRANCH: gh-pages
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN_NETWORK }}
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-secondscreen/2022Apr/0007.html
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.pyc
index.html
messages_appendix.html
network.html
network_messages.html
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,31 @@
BIKESHED ?= bikeshed
BIKESHED_ARGS ?= --print=plain

.PHONY: lint watch
.PHONY: lint watch watch-net

all: index.html network.html

index.html: index.bs messages_appendix.html
$(BIKESHED) $(BIKESHED_ARGS) spec $<

messages_appendix.html: messages_appendix.cddl scripts/pygmentize_dir.py scripts/cddl_lexer.py scripts/openscreen_cddl_dfns.py
./scripts/pygmentize_dir.py

network.html: network.bs network_messages.html
$(BIKESHED) $(BIKESHED_ARGS) spec $<

network_messages.html: network_messages.cddl scripts/pygmentize_dir.py scripts/cddl_lexer.py scripts/openscreen_cddl_dfns.py
./scripts/pygmentize_dir.py

lint: index.bs
$(BIKESHED) $(BIKESHED_ARGS) --dry-run --force spec --line-numbers $<

watch: index.bs
@echo 'Browse to file://${PWD}/index.html'
$(BIKESHED) $(BIKESHED_ARGS) watch $<

watch-net: network.bs
@echo 'Browse to file://${PWD}/network.html'
$(BIKESHED) $(BIKESHED_ARGS) watch $<


Loading

0 comments on commit 5966ada

Please sign in to comment.