Skip to content

Commit db81523

Browse files
authored
Merge pull request #32 from hyoi/split_crate
Split crate
2 parents e0edaf9 + e31c73b commit db81523

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+598
-498
lines changed

Cargo.toml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
11
[workspace]
22
resolver = "2"
3-
members = [ "tigtag", "macros", "macros_inside" ]
3+
members = [ "crates/tigtag" ]
4+
5+
[workspace.package]
6+
version = "0.13.0"
7+
edition = "2021"
8+
9+
[workspace.dependencies]
10+
#bevy = { git = "https://github.com/bevyengine/bevy" } #Master branch
11+
bevy = "0.13"
12+
once_cell = "1"
13+
rand = "0.8"
14+
chrono = "0.4"
15+
16+
syn = "2"
17+
quote = "1"
18+
proc-macro2 = "1"
19+
20+
tigtag_inside = { path = "crates/tigtag_inside" }
21+
share = { path = "crates/share" }
22+
macros = { path = "crates/macros" }
23+
macros_inside = { path = "crates/macros_inside" }
24+
25+
# WASMの場合にどれか指定する必要がある??
26+
# rand = { version = "0.8.4", features = [ "wasm-bindgen" ] }
27+
# getrandom = { version = "0.2.4", features = [ "js" ] }
28+
# getrandom = { version = "0.2.4", features = [ "wasm-bindgen" ] }

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ Note: Japanese text only.
88
SEが実装されています。音量要注意っ (≧ω≦;)
99

1010
## WASM版
11-
[https://hyoi.github.io/tigtag/tigtag/](https://hyoi.github.io/tigtag/tigtag/)
12-
※Rustのworkspaceで作業するとディレクトリの切り方にセンス問われるな‥‥
11+
[https://hyoi.github.io/tigtag/](https://hyoi.github.io/tigtag/)
1312

1413
## 操作方法
1514

@@ -39,7 +38,7 @@ cargo run -r
3938
※コマンドライン引数に書くディレクトリーは作業環境に合わせてください
4039
```
4140
cargo build -r --target wasm32-unknown-unknown
42-
wasm-bindgen --out-dir .\tigtag\wasm --target web --no-typescript .\target\wasm32-unknown-unknown\release\tigtag.wasm
41+
wasm-bindgen --out-dir .\wasm --target web --no-typescript .\target\wasm32-unknown-unknown\release\tigtag.wasm
4342
```
4443
- WASMのコンパイルには事前にRustのtarget追加とwasm-bindgenのインストールが必要です
4544
- wasm-bindgenを実行するとバージョン違いの警告が出ることがあります。その時はバージョン上げましょう
@@ -58,7 +57,7 @@ cargo install -f wasm-bindgen-cli
5857
- [Orbitron](https://fonts.google.com/specimen/Orbitron)
5958
- [Reggae One](https://fonts.google.com/specimen/Reggae+One)
6059
- [ドット絵ダウンロードサイト DOTOWN](https://dotown.maeda-design-room.net/)
61-
- Rustだから蟹 <img src="./tigtag/assets/image/sprite/kani_DOTOWN.png" width="22" height="16" style="vertical-align: bottom;">
60+
- Rustだから蟹 <img src="./assets/image/sprite/kani_DOTOWN.png" width="22" height="16" style="vertical-align: bottom;">
6261

6362
## 宿題
6463
- [ ] スマホでプレーできるようにしたい。
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)