Joakim Ahnfelt-Rønne
08/03/2022, 7:46 PMJoakim Ahnfelt-Rønne
08/03/2022, 7:48 PMbuild-system
branch, the CLI has become incredibly simple. The only thing it can do is to run a main file:
firefly Main.ff
That main file may be a build script written in Firefly as below though.
The next step is to get this working:
main(system: BuildSystem) {
system.compile("Main.ff")
system.bundle()
system.executable()
}
To create a statically linked executable.wtaysom
08/04/2022, 9:15 AMJoakim Ahnfelt-Rønne
08/04/2022, 11:17 AMJoakim Ahnfelt-Rønne
08/04/2022, 11:20 AMSystem
object that is passed to main
is the only way to get access to these things. It's just a value, so it can be passed on to other functions via their arguments. The FileSystem is a more narrow capability that can only be used to access the file system.Joakim Ahnfelt-Rønne
08/04/2022, 11:23 AMJimmy Miller
Joakim Ahnfelt-Rønne
08/04/2022, 3:02 PMJimmy Miller
Joakim Ahnfelt-Rønne
08/04/2022, 3:14 PMJoakim Ahnfelt-Rønne
08/04/2022, 3:15 PMJimmy Miller
Joakim Ahnfelt-Rønne
08/04/2022, 3:16 PMJimmy Miller
Joakim Ahnfelt-Rønne
08/04/2022, 3:19 PMGarth Goldwater
08/10/2022, 3:00 PMJoakim Ahnfelt-Rønne
08/10/2022, 8:03 PM