aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-10-31 13:48:13 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2021-10-31 13:48:13 +0100
commit2a7937e2bac16e587882a0a26e6d5929ed81d700 (patch)
treeb6688542279222dced5dddd629517230194cb1af /Makefile
parent87952fdb8ed56fcf926bea81e3247ff3c6395e31 (diff)
Add `odin report` command to help with bug reports.
Add new Odin command, `odin report`, which prints information helpful to resolving or reporting a bug. ``` W:\Odin> odin report Where to find more information and get into contact when you encounter a bug: Website: https://odin-lang.org GitHub: https://github.com/odin-lang/Odin/issues Useful information to add to a bug report: Odin: dev-2021-10:256bebfe OS: Windows 10 Professional (version: 20H2), build 19042.1266 CPU: AMD Ryzen 7 1800X Eight-Core Processor RAM: 65469 MiB W:\Odin> TODO: - CPU name on ARM/ARM64 ```
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cdf4f0fc8..fa07ec689 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,9 @@ all: debug demo
demo:
./odin run examples/demo/demo.odin
+report:
+ ./odin report
+
debug:
$(CC) src/main.cpp src/libtommath.cpp $(DISABLED_WARNINGS) $(CFLAGS) -g $(LDFLAGS) -o odin