Commit f789574
committed
Add self-contained binaries: package CFML apps as single executables
Virtual filesystem abstraction (VFS trait) allows the VM to read source
files from disk or from an in-memory archive embedded in the binary.
CLI mode (--mode cli): build command-line tools from CFML with a cli
scope for arguments. Serve mode (--mode serve): package web apps with
start/stop/status daemon management.
Usage: rustcfml --build ./myapp -o mybinary --mode cli|serve1 parent 974b32e commit f789574
7 files changed
Lines changed: 1032 additions & 82 deletions
File tree
- crates
- cfml-common/src
- cfml-vm/src
- cli
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
104 | 163 | | |
105 | 164 | | |
106 | 165 | | |
| |||
131 | 190 | | |
132 | 191 | | |
133 | 192 | | |
| 193 | + | |
134 | 194 | | |
135 | 195 | | |
136 | 196 | | |
| |||
196 | 256 | | |
197 | 257 | | |
198 | 258 | | |
199 | | - | |
| 259 | + | |
200 | 260 | | |
201 | 261 | | |
202 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
0 commit comments