-
Notifications
You must be signed in to change notification settings - Fork 7
/
build_all.py
39 lines (36 loc) · 1.06 KB
/
build_all.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# build_all.py
# February 2022
#
# build_all.py finds template files, derives what output file each
# should create from the template filename, and calls
# build_from_template.py for each of them
#
# Usage:
# You can either run this script directly, like this:
# build_all.py
# Or, you can import it into another python script and call its
# main function, like this:
# from build_all import build_all
# build_all()
#
# Change History
#
# 04FEB2022 Creation
#
#
# Copyright © 2022-2023, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
from build_from_template import build_from_template
import sys
def build_all():
build_from_template('templates/checklist_template.md','checklist.md')
build_from_template('templates/status_template.md','status.md')
build_from_template('templates/tasks_by_topic_template.md','tasks_by_topic.md')
if __name__ == '__main__':
# build_all.py executed directly
build_all()
print("build_all.py done")
sys.exit()