File tree 5 files changed +19
-16
lines changed
5 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 30
30
- name : Publish all specs to their https://www.w3.org/TR/ URLs
31
31
run : cd document && make -e WD-echidna-CI
32
32
env :
33
- STATUS : --md-status= WD
33
+ W3C_STATUS : WD
34
34
W3C_ECHIDNA_TOKEN_CORE : ${{ secrets.W3C_ECHIDNA_TOKEN_CORE }}
35
35
W3C_ECHIDNA_TOKEN_JSAPI : ${{ secrets.W3C_ECHIDNA_TOKEN_JSAPI }}
36
36
W3C_ECHIDNA_TOKEN_WEBAPI : ${{ secrets.W3C_ECHIDNA_TOKEN_WEBAPI }}
Original file line number Diff line number Diff line change @@ -28,21 +28,21 @@ diff: $(DIRS:%=diff-%)
28
28
# macOS: do “brew install tar” & run “make” as: TAR=gtar make -e WD-tar
29
29
.PHONY : WD-tar
30
30
WD-tar :
31
- for dir in $( DIRS) ; \
32
- do STATUS=--md-status=WD TAR=$(TAR ) $(MAKE ) -e -C $$ dir $@ ; \
31
+ for dir in $( DIRS) ; do \
32
+ TAR=$(TAR ) $(MAKE ) -e -C $$ dir $@ || exit 1 ; \
33
33
done
34
34
35
35
# macOS: do “brew install tar” & run “make” as: TAR=gtar make -e WD-echidna
36
36
.PHONY : WD-echidna
37
37
WD-echidna :
38
- for dir in $( DIRS) ; \
39
- do $(MAKE ) -e -C $$ dir $@ ; \
38
+ for dir in $( DIRS) ; do \
39
+ $(MAKE ) -e -C $$ dir $@ || exit 1 ; \
40
40
done
41
41
42
42
.PHONY : WD-echidna-CI
43
43
WD-echidna-CI :
44
- for dir in $( DIRS) ; \
45
- do $(MAKE ) -e -C $$ dir $@ ; \
44
+ for dir in $( DIRS) ; do \
45
+ $(MAKE ) -e -C $$ dir $@ || exit 1 ; \
46
46
done
47
47
48
48
# Directory-specific targets.
Original file line number Diff line number Diff line change 2
2
#
3
3
4
4
# You can set these variables from the command line.
5
+ W3C_STATUS = ED
5
6
SPHINXOPTS =
6
7
SPHINXBUILD = sphinx-build
7
8
PAPER = a4
@@ -154,7 +155,7 @@ bikeshed: $(GENERATED)
154
155
@echo
155
156
@echo =========================================================================
156
157
mkdir -p $(BUILDDIR ) /bikeshed_mathjax/
157
- bikeshed spec $( STATUS ) index.bs $(BUILDDIR ) /bikeshed_mathjax/index.html
158
+ bikeshed spec --md-status= $( W3C_STATUS ) index.bs $(BUILDDIR ) /bikeshed_mathjax/index.html
158
159
mkdir -p $(BUILDDIR ) /html/bikeshed/
159
160
(cd util/katex/ && yarn && yarn build && npm install --only=prod)
160
161
python3 util/mathjax2katex.py $(BUILDDIR ) /bikeshed_mathjax/index.html \
@@ -196,7 +197,7 @@ WD-echidna: WD-tar
196
197
-F " tar=@$( BUILDDIR) /WD.tar" \
197
198
-F " decision=$( DECISION_URL) " | tee $(BUILDDIR ) /WD-echidna-id.txt
198
199
@echo
199
- @echo " Published working draft . Check its status at https://labs.w3.org/echidna/api/status?id=` cat $( BUILDDIR) /WD-echidna-id.txt` "
200
+ @echo " Published $( W3C_STATUS ) . Check its status at https://labs.w3.org/echidna/api/status?id=` cat $( BUILDDIR) /WD-echidna-id.txt` "
200
201
201
202
.PHONY : WD-echidna-CI
202
203
WD-echidna-CI : WD-tar
@@ -210,7 +211,7 @@ WD-echidna-CI: WD-tar
210
211
-F " token=$( W3C_ECHIDNA_TOKEN_CORE) " \
211
212
-F " decision=$( DECISION_URL) " | tee $(BUILDDIR ) /WD-echidna-id.txt
212
213
@echo
213
- @echo " Published working draft . Check its status at https://labs.w3.org/echidna/api/status?id=` cat $( BUILDDIR) /WD-echidna-id.txt` "
214
+ @echo " Published $( W3C_STATUS ) . Check its status at https://labs.w3.org/echidna/api/status?id=` cat $( BUILDDIR) /WD-echidna-id.txt` "
214
215
215
216
.PHONY : diff
216
217
diff : bikeshed
Original file line number Diff line number Diff line change
1
+ W3C_STATUS = ED
1
2
BUILDDIR = _build
2
3
STATICDIR = _static
3
4
DOWNLOADDIR = _download
@@ -8,7 +9,7 @@ TAR = tar
8
9
.PHONY : all
9
10
all :
10
11
mkdir -p $(BUILDDIR ) /html
11
- bikeshed spec index.bs $(BUILDDIR ) /html/index.html
12
+ bikeshed spec --md-status= $( W3C_STATUS ) index.bs $(BUILDDIR ) /html/index.html
12
13
@echo " Build finished. The HTML pages are in ` pwd` /$( BUILDDIR) /html."
13
14
14
15
.PHONY : publish
@@ -33,7 +34,7 @@ diff: all
33
34
# macOS tar has no “--transform” option (only GNU tar does), so on macOS,
34
35
# do “brew install tar” & run “make” like this: “TAR=gtar make -e WD-tar”
35
36
WD-tar : all
36
- bikeshed spec --md-status=WD index.bs $(BUILDDIR ) /html/index.html
37
+ bikeshed spec --md-status=$( W3C_STATUS ) index.bs $(BUILDDIR ) /html/index.html
37
38
$(TAR ) -C $(BUILDDIR ) /html --transform=" s/index.html/Overview.html/" -cf $(BUILDDIR ) /WD.tar index.html
38
39
@echo " Built $( BUILDDIR) /WD.tar."
39
40
@@ -62,4 +63,4 @@ WD-echidna-CI: WD-tar
62
63
-F " token=$( W3C_ECHIDNA_TOKEN_JSAPI) " \
63
64
-F " decision=$( DECISION_URL) " | tee $(BUILDDIR ) /WD-echidna-id.txt
64
65
@echo
65
- @echo " Published working draft . Check its status at https://labs.w3.org/echidna/api/status?id=` cat $( BUILDDIR) /WD-echidna-id.txt` "
66
+ @echo " Published w $( W3C_STATUS ) . Check its status at https://labs.w3.org/echidna/api/status?id=` cat $( BUILDDIR) /WD-echidna-id.txt` "
Original file line number Diff line number Diff line change
1
+ W3C_STATUS = ED
1
2
BUILDDIR = _build
2
3
STATICDIR = _static
3
4
DOWNLOADDIR = _download
@@ -8,7 +9,7 @@ TAR = tar
8
9
.PHONY : all
9
10
all :
10
11
mkdir -p $(BUILDDIR ) /html
11
- bikeshed spec index.bs $(BUILDDIR ) /html/index.html
12
+ bikeshed spec --md-status= $( W3C_STATUS ) index.bs $(BUILDDIR ) /html/index.html
12
13
@echo " Build finished. The HTML pages are in ` pwd` /$( BUILDDIR) /html."
13
14
14
15
.PHONY : publish
@@ -33,7 +34,7 @@ diff: all
33
34
# macOS tar has no “--transform” option (only GNU tar does), so on macOS,
34
35
# do “brew install tar” & run “make” like this: “TAR=gtar make -e WD-tar”
35
36
WD-tar : all
36
- bikeshed spec --md-status=WD index.bs $(BUILDDIR ) /html/index.html
37
+ bikeshed spec --md-status=$( W3C_STATUS ) index.bs $(BUILDDIR ) /html/index.html
37
38
$(TAR ) -C $(BUILDDIR ) /html --transform=" s/index.html/Overview.html/" -cf $(BUILDDIR ) /WD.tar index.html
38
39
@echo " Built $( BUILDDIR) /WD.tar."
39
40
@@ -62,4 +63,4 @@ WD-echidna-CI: WD-tar
62
63
-F " token=$( W3C_ECHIDNA_TOKEN_WEBAPI) " \
63
64
-F " decision=$( DECISION_URL) " | tee $(BUILDDIR ) /WD-echidna-id.txt
64
65
@echo
65
- @echo " Published working draft . Check its status at https://labs.w3.org/echidna/api/status?id=` cat $( BUILDDIR) /WD-echidna-id.txt` "
66
+ @echo " Published $( W3C_STATUS ) . Check its status at https://labs.w3.org/echidna/api/status?id=` cat $( BUILDDIR) /WD-echidna-id.txt` "
You can’t perform that action at this time.
0 commit comments