Skip to content

Commit

Permalink
Changed crate paths to underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Feb 22, 2024
1 parent ca45f47 commit 0419585
Show file tree
Hide file tree
Showing 151 changed files with 65 additions and 65 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ local/
settings.db

# C API tests (ignore everything but source files)
*/gosub-bindings/tests/*
!*/gosub-bindings/tests/*.c
*/gosub_bindings/tests/*
!*/gosub_bindings/tests/*.c
*.dSYM
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ In the root directory, run `make format` to have clippy automatically fix some o
In the root directory, run `make bench` to run the benchmarks.

### Building C API Bindings
In the `crates/gosub-bindings` directory, run `make bindings` to build the C static libraries. For more information on this, see the [README](crates/gosub-bindings/README.md).
In the `crates/gosub_bindings` directory, run `make bindings` to build the C static libraries. For more information on this, see the [README](crates/gosub-bindings/README.md).

Can also run `make test` in the same directory to build and run the tests for the C bindings.

Expand Down
58 changes: 29 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "gosub-engine"
name = "gosub_engine"
version = "0.1.0"
edition = "2021"
rust-version = "1.73"
Expand Down Expand Up @@ -39,14 +39,14 @@ name = "tree_iterator"
harness = false

[dependencies]
gosub_shared = { path = "./crates/gosub-shared", features = [] }
gosub_net = { path = "./crates/gosub-net", features = [] }
gosub_config = { path = "./crates/gosub-config", features = [] }
gosub_html5 = { path = "./crates/gosub-html5", features = [] }
gosub_css3 = { path = "./crates/gosub-css3", features = [] }
gosub_webexecutor = { path = "./crates/gosub-webexecutor", features = [] }
gosub_jsapi = { path = "./crates/gosub-jsapi", features = [] }
gosub_testing = { path = "./crates/gosub-testing", features = [] }
gosub_shared = { path = "./crates/gosub_shared", features = [] }
gosub_net = { path = "./crates/gosub_net", features = [] }
gosub_config = { path = "./crates/gosub_config", features = [] }
gosub_html5 = { path = "./crates/gosub_html5", features = [] }
gosub_css3 = { path = "./crates/gosub_css3", features = [] }
gosub_webexecutor = { path = "./crates/gosub_webexecutor", features = [] }
gosub_jsapi = { path = "./crates/gosub_jsapi", features = [] }
gosub_testing = { path = "./crates/gosub_testing", features = [] }
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
derive_more = "0.99"
Expand Down
14 changes: 0 additions & 14 deletions crates/gosub-bindings/Cargo.toml

This file was deleted.

File renamed without changes.
14 changes: 14 additions & 0 deletions crates/gosub_bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "gosub_bindings"
version = "0.1.0"
edition = "2021"
authors = ["Gosub Community <[email protected]>"]
license = "MIT"

[dependencies]
gosub_shared = { path = "../gosub_shared" }
gosub_rendering = { path = "../gosub_rendering" }
gosub_html5 = { path = "../gosub_html5" }

[lib]
crate-type = ["staticlib"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
gosub_shared = { path = "../gosub-shared", features = [] }
gosub_shared = { path = "../gosub_shared", features = [] }
serde = { version = "1.0", features = ["derive"] }
serde_json = {version = "1.0", features = ["preserve_order"]}
serde_derive = "1.0"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Gosub Community <[email protected]>"]
license = "MIT"

[dependencies]
gosub_shared = { path = "../gosub-shared", features = [] }
gosub_shared = { path = "../gosub_shared", features = [] }
lazy_static = "1.4"
log = "0.4.20"
simple_logger = "4.2.0"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Gosub Community <[email protected]>"]
license = "MIT"

[dependencies]
gosub_shared = { path = "../gosub-shared", features = [] }
gosub_shared = { path = "../gosub_shared", features = [] }
derive_more = "0.99"
phf = { version = "0.11.2", features = ["macros"] }
lazy_static = "1.4"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ authors = ["Gosub Community <[email protected]>"]
license = "MIT"

[dependencies]
gosub_shared = { path = "../gosub-shared", features = [] }
gosub_shared = { path = "../gosub_shared", features = [] }
uuid = { version = "1.7.0", features = ["v4"] }
regex = "1"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions crates/gosub-net/Cargo.toml → crates/gosub_net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ authors = ["Gosub Community <[email protected]>"]
license = "MIT"

[dependencies]
gosub_shared = { path = "../gosub-shared", features = [] }
gosub_config = { path = "../gosub-config", features = [] }
gosub_shared = { path = "../gosub_shared", features = [] }
gosub_config = { path = "../gosub_config", features = [] }
derive_more = "0.99"
thiserror = "1.0.57"
ureq = "2.9.5"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ authors = ["Gosub Community <[email protected]>"]
license = "MIT"

[dependencies]
gosub_html5 = { path = "../gosub-html5" }
gosub_html5 = { path = "../gosub_html5" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ authors = ["Gosub Community <[email protected]>"]
license = "MIT"

[dependencies]
gosub_shared = { path = "../gosub-shared" }
gosub_html5 = { path = "../gosub-html5" }
gosub_shared = { path = "../gosub_shared" }
gosub_html5 = { path = "../gosub_html5" }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
serde_derive = "1.0"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Gosub Community <[email protected]>"]
license = "MIT"

[dependencies]
gosub_shared = { path = "../gosub-shared" }
gosub_shared = { path = "../gosub_shared" }
colored = "2.1.0"
derive_more = "0.99"
lazy_static = "1.4"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0419585

Please sign in to comment.