Skip to content

Commit 9a0acd4

Browse files
committed
Move examples directory back to the repo root
1 parent 6b99725 commit 9a0acd4

25 files changed

+9
-4187
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ script:
2323
- if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (cargo clippy -- -D warnings) fi
2424
- prettier --debug-check -l './**/*.json' './**/*.graphql'
2525
- cargo test --all
26-
- cargo build --manifest-path=./graphql_client/examples/github/Cargo.toml
27-
- cargo build --manifest-path=./graphql_client_cli/Cargo.toml
26+
- cargo build --manifest-path=./examples/github/Cargo.toml
27+
- cargo build --manifest-path=./examples/web/Cargo.toml
2828
- if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (xvfb-run cargo test --manifest-path=./graphql_client_web/Cargo.toml --target wasm32-unknown-unknown) fi

Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@ members = [
44
"graphql_client_codegen",
55
"graphql_client",
66
"graphql_client_web",
7-
"graphql_client/examples/example_module",
8-
"graphql_client/examples/github",
97
"graphql_query_derive",
108
]

graphql_client/examples/example_module/Cargo.toml renamed to examples/example_module/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ authors = ["Tom Houlé <[email protected]>"]
66
[dependencies]
77
serde = "1.0.69"
88
serde_derive = "1.0.69"
9-
graphql_client = { path = "../.."}
9+
graphql_client = { path = ".." }

graphql_client/examples/github/Cargo.toml renamed to examples/github/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["Tom Houlé <[email protected]>"]
55

66
[dependencies]
77
failure = "*"
8-
graphql_client = { path = "../.." }
8+
graphql_client = { path = ".." }
99
serde = "1.0"
1010
serde_derive = "1.0"
1111
serde_json = "1.0"
File renamed without changes.

graphql_client/examples/web/.gitignore renamed to examples/web/.gitignore

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
package-lock.json
2+
web_bg.d.ts
3+
web_bg.wasm
4+
web.d.ts
15
web.d.ts
26
web.js
3-
web_bg.wasm
4-
package-lock.json

graphql_client/examples/web/Cargo.toml renamed to examples/web/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ lto = "thin"
1111
crate-type = ["cdylib"]
1212

1313
[dependencies]
14-
graphql_client_web = { path = "../../../graphql_client_web" }
14+
graphql_client_web = { path = "../../graphql_client_web" }
1515
wasm-bindgen = "0.2.12"
1616
serde = "1.0.67"
1717
serde_derive = "1.0.67"
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 commit comments

Comments
 (0)