From e19090ae2237d87a53a4fdcd37eefd589990c763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Zafir=C3=B3pulos?= <1265028+drkameleon@users.noreply.github.com> Date: Wed, 10 Apr 2024 17:04:19 +0200 Subject: [PATCH] testing the "executable" field --- info.art | 1 + main.art | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/info.art b/info.art index edde4a3..1741e3d 100644 --- a/info.art +++ b/info.art @@ -1,3 +1,4 @@ entry: "main" +executable: "main" depends: [] requires: [] \ No newline at end of file diff --git a/main.art b/main.art index 33a5f78..47eb183 100644 --- a/main.art +++ b/main.art @@ -4,4 +4,9 @@ dummyFunc: function [x][ print "I'm just a dummy function, so..." print "I'll simply return back the exact same value you passed" return x +] + +if standalone? [ + print "running as a standalone binary" + print dummyFunc 10 ] \ No newline at end of file