briefcase
an experimental peer-to-peer network.
compiling
before compiling, be sure to update the versioning information
with:pub run pubspec_extract
to compile a self-contained executable (a standalone architecture-specific executable file containing the source code
compiled to machine code and a small dart runtime), use the following command:
dart compile exe bin/application.dart -o dist/application
this will compile an executable file native to your system. on windows, you may wish to append .exe
to the name of the
output file. on *nix systems, you can just run the executable with ./dist/application
.
as a fun aside, you can also compile to javascript as follows:
dart compile js bin/application.js -o dist/application.js
Comments are closed.