small updates; getting more working with Windows
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 5 Jan 2021 00:05:30 +0000 (18:05 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 5 Jan 2021 00:05:30 +0000 (18:05 -0600)
bin/onyx
misc/onyx-linux.sublime-build [new file with mode: 0644]
misc/onyx-windows.sublime-build [new file with mode: 0644]
misc/onyx.sublime-build [deleted file]
onyx.exe
src/onyx.c

index 671685a1a707b83183a7dc1af8fa71157cdaadc1..77fdb3f10c622ef76edfa7a1d4bb2e186a1ab863 100755 (executable)
Binary files a/bin/onyx and b/bin/onyx differ
diff --git a/misc/onyx-linux.sublime-build b/misc/onyx-linux.sublime-build
new file mode 100644 (file)
index 0000000..333000a
--- /dev/null
@@ -0,0 +1,7 @@
+{
+       "target": "exec",
+       "shell_cmd": "/usr/bin/onyx -V -o \"${folder}/${file_base_name}.wasm\" \"$file\"",
+       "working_dir": "${folder}",
+       "selector": "source.onyx",
+       "file_regex": "^\\(([^:]+):([0-9]+),([0-9]+)\\) (.*)",
+}
\ No newline at end of file
diff --git a/misc/onyx-windows.sublime-build b/misc/onyx-windows.sublime-build
new file mode 100644 (file)
index 0000000..ac349e9
--- /dev/null
@@ -0,0 +1,7 @@
+{
+       "target": "exec",
+       "shell_cmd": "\\dev\\onyx\\onyx.exe -V -o \"${folder}/${file_base_name}.wasm\" \"$file\"",
+       "working_dir": "${folder}",
+       "selector": "source.onyx",
+       "file_regex": "^\\(([^:]+:[^:]+):([0-9]+),([0-9]+)\\) (.*)",
+}
\ No newline at end of file
diff --git a/misc/onyx.sublime-build b/misc/onyx.sublime-build
deleted file mode 100644 (file)
index 333000a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-       "target": "exec",
-       "shell_cmd": "/usr/bin/onyx -V -o \"${folder}/${file_base_name}.wasm\" \"$file\"",
-       "working_dir": "${folder}",
-       "selector": "source.onyx",
-       "file_regex": "^\\(([^:]+):([0-9]+),([0-9]+)\\) (.*)",
-}
\ No newline at end of file
index 108ebd015e1b47c430cda199528496c73e926761..6378ea27b6f3ed76f6865905b75208e69e0ed60b 100644 (file)
Binary files a/onyx.exe and b/onyx.exe differ
index 9348211e06136b957a2c5c2b6153d6a15c535237..6a1f1e2618d1e919f711077eda22ae4d66639a2e 100644 (file)
@@ -17,7 +17,7 @@
     #ifdef _BH_LINUX
     #define CORE_INSTALLATION "/usr/share/onyx"
     #elif defined(_WIN32) || defined(_WIN64)
-    #define CORE_INSTALLATION "C:\\Program Files\\Onyx"
+    #define CORE_INSTALLATION "\\dev\\onyx\\"
     #endif
 #endif