Build Script

Any provided build script is run before your program is executed. This gives you the ability to add compilation commands, for example. For Java, this might be:

rm -f *.classjavac {{filenames}}

This will be run when you click the blue Run in the directory your terminal is currently in.‌

The build script can be edited by clicking the gears icon on the left sidebar, then editing the appropriate field:

Note that some sandboxes (such as those for compiled languages) come with this field pre-populated.‌

The {{filenames}} is a Next Tech template, which you can learn more about here.‌

If you've made a change and want to restore the original command, you can find it on the Launchpad, under Default Build Script.