[O] Refactor main

This commit is contained in:
Azalea (on HyDEV-Daisy)
2022-05-09 00:33:40 -04:00
parent 36cee53431
commit 8fd70c9659
2 changed files with 14 additions and 29 deletions
+3
View File
@@ -1,4 +1,5 @@
import os
from pathlib import Path
ROOT_DIR = os.environ["ROOT_DIR"]
REPO_PATH = os.environ["REPO_PATH"]
@@ -12,3 +13,5 @@ DATASET_DIR = os.environ["DATASET_DIR"]
PROJECT_TYPE = os.environ["PROJECT_TYPE"]
REDIS_PORT = os.environ["REDIS_PORT"]
jdk8 = os.environ["JDK8"]
JAR_PATH = Path(ROOT_DIR).parent / 'target/FixPatternMiner-1.0.0-jar-with-dependencies.jar'