Skip to content

Commit

Permalink
testing the "executable" field
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Apr 10, 2024
1 parent e4567f3 commit e19090a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions info.art
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
entry: "main"
executable: "main"
depends: []
requires: []
5 changes: 5 additions & 0 deletions main.art
Original file line number Diff line number Diff line change
Expand Up @@ -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
]

0 comments on commit e19090a

Please sign in to comment.