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