ruflet 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +20 -1
- data/lib/ruflet/cli/build_command.rb +1337 -87
- data/lib/ruflet/cli/new_command.rb +65 -17
- data/lib/ruflet/cli/run_command.rb +65 -33
- data/lib/ruflet/cli.rb +6 -1
- data/lib/ruflet/hot_reload.rb +23 -10
- data/lib/ruflet/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb526fe95e57e72ddf182e86be54239b05a6f782a0f574780aa6fabca3a69ef6
|
|
4
|
+
data.tar.gz: fd8a42692977eb964011e2d087e838345e9d836dca2f6d11f7560197b9cae562
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2b0ef3741d51fe6cdba91d41db6fd5dba388974dedcd00751981ee89a399bfad1f0d07e9b8d7c32e512f80fd652ee784fcda80d71105f70fad323e63e7876c0
|
|
7
|
+
data.tar.gz: cfe6ec3fe141f6edc414e866d204bc7831cbc1aa8fed27d82cae43a84b20df6e78e56819bd7341818025a3f1ed4dc63322b46014cccb8007acffae090e0ec14e
|
data/README.md
CHANGED
|
@@ -31,10 +31,29 @@ ruflet devices
|
|
|
31
31
|
ruflet emulators
|
|
32
32
|
ruflet doctor [--fix]
|
|
33
33
|
ruflet update [web|desktop|all] [--check] [--force]
|
|
34
|
-
ruflet build <apk|android|ios|aab|web|macos|windows|linux> [--self]
|
|
34
|
+
ruflet build <apk|android|ios|ipa|aab|web|macos|windows|linux> [--lite|--full|--self]
|
|
35
35
|
ruflet install [--device DEVICE_ID]
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
`--lite` creates the compact self-contained build: project Ruby is precompiled
|
|
39
|
+
when the matching mruby compiler is available, and the bundled VM starts in
|
|
40
|
+
parallel with Flutter. `--self` remains an alias for this profile.
|
|
41
|
+
Combining `--self --full` selects the full profile; `--self` does not override
|
|
42
|
+
an explicit `--full`.
|
|
43
|
+
|
|
44
|
+
`--full` packages the locked production bundle from `Gemfile.lock` and selects
|
|
45
|
+
a target-specific CRuby runtime. Set `RUFLET_FULL_RUNTIME_PATH`, or
|
|
46
|
+
`build.full_runtime_path` in `ruflet.yaml`, to a Flutter package named
|
|
47
|
+
`ruby_runtime` with a `ruflet-full-runtime.json` manifest for the target.
|
|
48
|
+
Ruflet refuses to substitute the lite mruby engine for a requested full build.
|
|
49
|
+
|
|
50
|
+
Before Flutter resolves or bundles packages, Ruflet removes extension plugins
|
|
51
|
+
that are not selected by the current services/extensions configuration.
|
|
52
|
+
|
|
53
|
+
`ruflet run --desktop` downloads the Ruflet Explorer prebuild for the host the
|
|
54
|
+
first time, reuses its versioned cache afterward, and launches it with the
|
|
55
|
+
current backend URL.
|
|
56
|
+
|
|
38
57
|
Commands that create, diagnose, or build a Flutter client compare the cached
|
|
39
58
|
template revision with `AdamMusa/ruflet-template` on GitHub. When `main`
|
|
40
59
|
changes, Ruflet downloads the new template and refreshes its managed
|