]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/ContextTool/org/tianocore/context/ContextMain.java
add ContextTool to workspace/Tools
[mirror_edk2.git] / Tools / Source / ContextTool / org / tianocore / context / ContextMain.java
diff --git a/Tools/Source/ContextTool/org/tianocore/context/ContextMain.java b/Tools/Source/ContextTool/org/tianocore/context/ContextMain.java
new file mode 100644 (file)
index 0000000..991d81a
--- /dev/null
@@ -0,0 +1,17 @@
+package org.tianocore.context;\r
+\r
+public class ContextMain {\r
+    \r
+    public static void main(String[] args) {\r
+\r
+        if(ParseParameter.checkParameter(args) == false){\r
+            System.exit(0);\r
+        }\r
+\r
+        if (TargetFile.parsePath("target.txt") == false) {\r
+            System.exit(0);\r
+        }\r
+        \r
+        System.out.printf("%n%s", "Target.txt generate successfully!");\r
+    }\r
+}\r