gspm 使い方
Install gspm
code: .sh
pip3 install gspm
gspm commands
https://gyazo.com/08394201a4ec1915644576ab0277aa68
code: .sh
gspm new <project-name>
gspm install # 依存関係の Asset, 及び Godot Binary を インストール
gspm edit # # Godot Editor を起動 (godot -e)
gspm clean # project, .repo からアセットをすべて削除。 addons が空になったら、フォルダを削除
gspm export
gspm run # デフォルトシーンを実行 (godot -d main.tscn)。一回edit して設定しておく
gspm test # unit test
gspm update # プロジェクト内の asset を update
porject.yml
code: .yml
name: mygame
path: .
version: 0.0.0
default_type: git
godot:
version: 3.2.2
arch: 64
mono: False
assets:
godexel:
branch: master
includes:
- dir: addons
todir: ./addons
# よくわからないフィールド(ドキュメントに載ってない)
# pre_install:
# post_install:
# pre_build:
# post_build:
スキーマはここを見たほうが速い(コメントのトップのurl)
Asset: field
name
location: url
type: pull type
active
アセットを含めるかどうか(boolean, default で true)
branch
github の branch
includes
dir: Asset の中で、コピーしたいdirectoryの絶対パス
todir: Project のコピー先ディレクトリ
Asset: pull type
プルタイプを指定すると、ソースを引っ張る方法を識別できる
git (default)
copy
ローカルフォルダ
zip
zip をダウンロードして解凍
web上のでも行ける?
export section
Godot をアプリにしてビルドするときの設定