From 4f8ec4c78cfe8cf1c92b607c7002c0c2b87f335b Mon Sep 17 00:00:00 2001 From: kazusaku Date: Sun, 24 Apr 2022 16:00:07 +0900 Subject: [PATCH 1/2] fix expand.py --- expand.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/expand.py b/expand.py index 4072ced..259aaeb 100755 --- a/expand.py +++ b/expand.py @@ -4,6 +4,7 @@ import getopt import tempfile import subprocess +import pathlib usage = '''Usage:expand.py [options] Output Modules: @@ -43,14 +44,14 @@ 'scc': ('internal_scc',), 'segtree': ('internal_bit', 'internal_type_traits',), 'twosat': ('internal_scc',), } -src_path = 'src/' +src_path = pathlib.Path(sys.argv[0]).parent.joinpath('src') def output_file(filename): global src_path res = [] - with open(src_path+filename+'.rs', 'r') as f: + with open(src_path.joinpath(filename+'.rs'), 'r') as f: res.append('pub mod {} {{'.format(filename)) for line in f: From 2d270b83895b872be9af8b3d30fdf2e32756dc32 Mon Sep 17 00:00:00 2001 From: kazusaku Date: Wed, 26 Apr 2023 19:39:41 +0900 Subject: [PATCH 2/2] first commit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f27423d..deb2411 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,4 @@ All of the streams and topics are visible without logging in. If you like, please join it. We are discussing this project in [`#競プロ > ac-library-rs`](https://rust-lang-jp.zulipchat.com/#narrow/stream/334326-.E7.AB.B6.E3.83.97.E3.83.AD/topic/ac-library-rs). +# puyopuyo-viewer