From 41dbd224427922f17f56740da9712c0b35a8f70e Mon Sep 17 00:00:00 2001 From: Natapat Samutpong Date: Sun, 13 Mar 2022 12:49:00 +0700 Subject: [PATCH] makefile executable --- Makefile | 6 ++++++ README.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7687d67..73de4d5 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ +build-debug: + @echo "Building executable (debug)... done" + cargo build + cp ./target/debug/hazure ~/bin/hazure -r + @echo "Building executable (debug)... done" + build-lib: @echo "Building lib..." cp ./lib/. /usr/include/hazure/ -r diff --git a/README.md b/README.md index 44d42e8..8fff8ca 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ or with the pipe operator: ```sml fun main: int = do "Hello, World!\n" - |> @write(); + |> @write(_); return 69; end; ```