initial
This commit is contained in:
commit
74ae93a96e
1 changed files with 94691 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
Commands
|
||||
|
||||
- there r two ways to execute code
|
||||
`dart main.dart` : directly runs code. useful for quick and single dart file
|
||||
`dart run main.dart` : useful for running a project with lot of other dependencies specified in `pubspec.yaml` file
|
||||
- dart uses AOT(Ahead Of Time) compiler to create executable and jit(Just In Time) interpreter to run code directly which means features like hot reload can be used
|
||||
`dart run main.dart` : jit interpreter
|
||||
`dart compile exe main.dart -o output` and to run this self contained executable called output `./output`
|
||||
|
||||
Loading…
Reference in a new issue