Commit 8e861467 by sikang

test

parent 7b6a2937
......@@ -21,8 +21,10 @@ class ManifestGarble:
for i in range(0,random.randint(3,10)):
act_name = self.__gen_rand_str()
act_path = "%s/%s.java"%(root, act_name)
pkg_name = ""
if "main/java/" in root:
pkg_name = root.split("main/java/")[1].replace("/",".")
if "main/kotlin/" in root:
elif "main/kotlin/" in root:
pkg_name = root.split("main/kotlin/")[1].replace("/",".")
act_content = ClassBuilder().new_class(act_name,pkg_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment