From fd67eb17f18ef3ab1e6dc7da7d65ec41dd54feda Mon Sep 17 00:00:00 2001 From: "Kenneth G. Franqueiro" Date: Fri, 20 Dec 2024 13:53:31 -0500 Subject: [PATCH] Add 2.1 build script that reuses process from main branch --- build-21.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 build-21.sh diff --git a/build-21.sh b/build-21.sh new file mode 100755 index 0000000000..2e653a71ae --- /dev/null +++ b/build-21.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +# Download main branch +curl -Lo wcag.tar.gz https://github.com/w3c/wcag/archive/refs/heads/main.tar.gz +tar xf wcag.tar.gz +cd wcag-main +npm i + +# Run build using local 2.1 guidelines from active branch +WCAG_VERSION=21 WCAG_FORCE_LOCAL_GUIDELINES=../guidelines/index.html npm run build