Skip to content

Commit

Permalink
try both flavors of date utility to generate deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
dschuff committed Sep 3, 2024
1 parent f33414c commit 408aa42
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion document/core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ DOWNLOADDIR = _download
NAME = WebAssembly
DECISION_URL = https://github.com/WebAssembly/meetings/blob/main/main/2024/WG-06-12.md
TAR = tar
DEADLINE = $(shell python3 ../deadline.py)
DEADLINE = $(shell date -d "+30 days" +%Y-%m-%d 2>/dev/null || date -v +30d +%Y-%m-%d)

# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
Expand Down
4 changes: 0 additions & 4 deletions document/deadline.py

This file was deleted.

2 changes: 1 addition & 1 deletion document/js-api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DOWNLOADDIR = _download
NAME = WebAssembly
DECISION_URL = https://github.com/WebAssembly/meetings/blob/main/main/2024/WG-06-12.md
TAR = tar
DEADLINE = $(shell python3 ../deadline.py)
DEADLINE = $(shell date -d "+30 days" +%Y-%m-%d 2>/dev/null || date -v +30d +%Y-%m-%d)

.PHONY: all
all:
Expand Down
2 changes: 1 addition & 1 deletion document/web-api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DOWNLOADDIR = _download
NAME = WebAssembly
DECISION_URL = https://github.com/WebAssembly/meetings/blob/main/main/2024/WG-06-12.md
TAR = tar
DEADLINE = $(shell python3 ../deadline.py)
DEADLINE = $(shell date -d "+30 days" +%Y-%m-%d 2>/dev/null || date -v +30d +%Y-%m-%d)

.PHONY: all
all:
Expand Down

0 comments on commit 408aa42

Please sign in to comment.