Compare commits

..

3 Commits

Author SHA1 Message Date
0c9caab797 fix Error 2022-04-22 23:11:37 +09:00
8de18a9c78 tool: add issueUpdate 2022-04-22 23:10:54 +09:00
f0524c1c87 CRLF to LF 2022-04-22 23:07:12 +09:00
3 changed files with 15 additions and 2 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text eol=lf

14
cli.py
View File

@ -37,9 +37,21 @@ def help(_args):
for command in commandList.keys():
print("\t", command)
def issueUpdate(args):
parser = argparse.ArgumentParser(description='Update issues', prog="cli.py issueUpdate")
parser.add_argument('-v', '--verbose', action='store_true', help='verbose mode')
parser.add_argument('--outDir', default="build", help='output directory')
args = parser.parse_args(args)
if args.verbose:
print("update issues")
issuePath = os.path.join(args.outDir,"issues.json")
p = subprocess.run(["deno", "run", "-A","tools/getIssue.ts", "--path",issuePath])
p.check_returncode()
commandList = {
'build': build,
'help': help
'help': help,
'issueUpdate': issueUpdate
}
def main():

View File

@ -5,7 +5,7 @@
해당되지 않음.
## 3.2. 기능 요구사항(Functional requirements)
<%~ it.issues.map(i => `### (#${i.number}) ${i.title}\n${i.body}`).join("\n\n") %>
<%~ it.issues.map(i => `### (#${i.number}) ${i.title}\n${i.body.replaceAll("\r\n","\n")}`).join("\n\n") %>
## 3.3. 성능 요구사항(Performance requirements)