From 6a54fe0fdd07231b7f7dc26e17d0701245923766 Mon Sep 17 00:00:00 2001 From: Youenn Fablet Date: Mon, 29 Jan 2024 10:32:32 +0100 Subject: [PATCH] Add makefile to locally build the bs spec --- .gitignore | 1 + Makefile | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dcaf716 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +index.html diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2e8d99e --- /dev/null +++ b/Makefile @@ -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