Skip to content

Commit

Permalink
Merge pull request #103 from youennf/add-bs-makefile
Browse files Browse the repository at this point in the history
Add makefile to locally build the bs spec
  • Loading branch information
henbos authored Feb 1, 2024
2 parents be50fbd + 6a54fe0 commit 6a7ca1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
index.html
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
LOCAL_BIKESHED := $(shell command -v bikeshed 2> /dev/null)

index.html: index.bs
ifndef LOCAL_BIKESHED
curl https://api.csswg.org/bikeshed/ -F file=@$< > $@
else
bikeshed spec
endif

0 comments on commit 6a7ca1f

Please sign in to comment.