summaryrefslogtreecommitdiffhomepage
path: root/Tools/install.d
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-09 21:47:33 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-09 21:47:33 +0100
commit9cef856478cebe4bfe00e1d39c9e2d49015dd0e4 (patch)
treef04c6b6b1156057748c7044a766120485c45c885 /Tools/install.d
parenta8a55bc93e06cd8f75f7d397c013f7a312ea29a4 (diff)
MP-UX/hCore Assembler for 64x0, Release I.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Tools/install.d')
-rw-r--r--Tools/install.d35
1 files changed, 35 insertions, 0 deletions
diff --git a/Tools/install.d b/Tools/install.d
new file mode 100644
index 0000000..c121f72
--- /dev/null
+++ b/Tools/install.d
@@ -0,0 +1,35 @@
+/*
+ * ========================================================
+ *
+ * MP-UX C Compiler
+ * Copyright Mahrouss Logic, all rights reserved.
+ *
+ * ========================================================
+ */
+
+module mpcc.install;
+
+///Author: amlel
+///This helps install the mp-ux toolchain.
+class InstallFactory
+{
+ this(string where, string from)
+ {
+ import std;
+ import std.file;
+
+ try
+ {
+ from.copy(where);
+ }
+ catch(Exception e)
+ {
+ writeln("install.d: error: ", e.msg);
+ }
+ }
+}
+
+void main(string[] args)
+{
+ auto factory = new InstallFactory(args[1], args[2]);
+}