文件名称:peanut.dart:轻松构建Dart Web应用并将其部署到GitHub页面
文件大小:34KB
文件格式:ZIP
更新时间:2024-06-02 12:52:59
Dart
您是否曾经想将pub run build_runner build到另一个分支? 这是你的票。
安装
$ pub global activate peanut
跑步
$ cd ~ /my_dart_proj/
$ peanut
这会将您的项目构建到一个临时目录中,然后将使用其内容更新本地gh-pages分支。
扑
Flutter应用程序可以通过使用Flutter SDK运行花生来构建。
正在安装:
$ flutter pub global activate peanut
跑步:
$ flutter pub global run peanut:peanut
在我介绍peanut 。
选项
$ peanut --help
Usage: peanut [
【文件预览】:
peanut.dart-master
----pubspec.yaml(917B)
----.github()
--------workflows()
----lib()
--------src()
----dart_test.yaml(72B)
----example()
--------index.html(275B)
--------example_script.dart(32B)
----LICENSE(1KB)
----test()
--------ensure_build_test.dart(167B)
--------options_test.dart(4KB)
--------flutter_test.dart(742B)
--------helper_test.dart(4KB)
--------peanut_test.dart(11KB)
--------cli_test.dart(6KB)
----README.md(4KB)
----analysis_options.yaml(2KB)
----build.yaml(509B)
----tool()
--------clean_output.dart(365B)
----.gitignore(34B)
----bin()
--------peanut.dart(2KB)
----CHANGELOG.md(5KB)
----peanut.yaml(359B)