Can Monkey compile from the command line

Monkey Archive Forums/Monkey Discussion/Can Monkey compile from the command line

DeltaWolf7(Posted 2013) [#1]
Hi,

Is it possible to compile to a target via the command prompt, say from another application such as an IDE?

Such as if I built an extension for Visual Studio, how would I compile the project?

Thanks


arcsrc(Posted 2013) [#2]
Yes you can. Just look at the first line in the TED console after you compile. It shows you the correct command.


consty(Posted 2014) [#3]
Hello I enter this command in command line
Z:\Monkey>"C:/MonkeyX77a/bin/transcc_winnt" -target=Desktop_Game -config=Debug -
run "Z:/Monkey/snake.monkey"


But I can't run the application, any ideas how to do this?


consty(Posted 2014) [#4]
Oh, I found that the program built is generated in the same directory where the command run.
Browsing the contents there I find the most close match, the "MonkeyGame" executable file.
However I still wonder why won't the program run again.

Is there any specific way that the TED ide does this?