00.flutter:02.flutterでwebアプリを作成
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| 00.flutter:02.flutterでwebアプリを作成 [2021/05/22] – [Flutter for WebのNetlifyへのデプロイに関するリンク] adash333 | 00.flutter:02.flutterでwebアプリを作成 [2021/05/22] (現在) – [Flutter for WebのNetlifyへのデプロイに関するリンク] adash333 | ||
|---|---|---|---|
| 行 197: | 行 197: | ||
| Build command | Build command | ||
| < | < | ||
| - | if cd flutter; then git pull && cd..; else git clone https:// | + | if cd flutter; then git pull && cd..; else git clone https:// |
| </ | </ | ||
| Publish directory | Publish directory | ||
| 行 213: | 行 213: | ||
| https:// | https:// | ||
| {{: | {{: | ||
| + | |||
| + | ==== netlify.tomlの利用 ==== | ||
| + | |||
| + | ./ | ||
| + | < | ||
| + | [build] | ||
| + | command = "chmod 777 ./build.sh && ./ | ||
| + | publish = " | ||
| + | </ | ||
| + | |||
| + | ./build.sh | ||
| + | < | ||
| + | if cd flutter; then | ||
| + | git pull | ||
| + | cd .. | ||
| + | else | ||
| + | git clone https:// | ||
| + | fi | ||
| + | |||
| + | flutter/ | ||
| + | </ | ||
| + | |||
| + | 参考: | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==== シェルスクリプトについて ==== | ||
| + | if文 | ||
| + | < | ||
| + | if 条件式 ; then | ||
| + | 処理1 | ||
| + | else | ||
| + | 処理2 | ||
| + | fi | ||
| + | </ | ||
| + | → 条件式が真の場合は処理1を、それ以外の場合は処理2を行う。 | ||
| + | |||
| + | https:// | ||
| + | if 文と test コマンド | ||
| + | |||
| + | https:// | ||
| + | @toshihirock | ||
| + | が2015年10月28日に作成 | ||
| + | シェルスクリプト(bash)のif文とtestコマンド([])自分メモ | ||
| + | |||
| + | https:// | ||
| + | シェルスクリプトでつまずいた・・・ | ||
| + | 2013.07.07 16:44 | ||
| + | |||
| + | |||
| + | http:// | ||
| + | UNIX/ | ||
| + | |||
| + | https:// | ||
| + | 2020年3月6日 | ||
| + | 【 git pull 】コマンド――リモートリポジトリの変更内容を取り込む | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
00.flutter/02.flutterでwebアプリを作成.1621662543.txt.gz · 最終更新: 2021/05/22 by adash333
