From 4e197d49bc0af92111cc9e2e3e0bc8cc482c8866 Mon Sep 17 00:00:00 2001 From: serkus01 <7erkus@gmail.com> Date: Mon, 24 Jan 2022 12:34:34 +0900 Subject: [PATCH] add cmd testEnv --- Makefile | 6 +++++- utils/parsePortage.py | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e56b183..9d7877f 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,12 @@ run: #make cert && python server.py - testToken: +testToken: python core/jwt.py cert: openssl req -new -x509 -keyout localhost.pem -out localhost.pem -nodes -days 365 + +testEnv: + python utils/parsePortage.py + diff --git a/utils/parsePortage.py b/utils/parsePortage.py index 5ead1ed..f77a423 100644 --- a/utils/parsePortage.py +++ b/utils/parsePortage.py @@ -49,5 +49,5 @@ class PortageConfig(): Lines = self.getlines(self.Config.Portage['package.keywords']) if __name__ == '__main__': - test = PortageConfig() - test.parseMakeConf() + Test = PortageConfig() + Test.parseMakeConf()