Skip to content

Commit 995d4e9

Browse files
committed
Update to latest dist
1 parent 3c12671 commit 995d4e9

File tree

3 files changed

+30
-25
lines changed

3 files changed

+30
-25
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust-purs-gql"
3-
version = "0.1.18"
3+
version = "0.1.19"
44
edition = "2021"
55
default-run = "pursgql"
66
repository = "https://github.com/OxfordAbstracts/purescript-graphql-schema-gen"
@@ -33,26 +33,3 @@ path = "src/main_check_needs_migrations.rs"
3333
[profile.dist]
3434
inherits = "release"
3535
lto = "thin"
36-
37-
# Config for 'cargo dist'
38-
[workspace.metadata.dist]
39-
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
40-
cargo-dist-version = "0.22.1"
41-
# CI backends to support
42-
ci = "github"
43-
# The installers to generate for each app
44-
installers = ["npm"]
45-
# Target platforms to build apps for (Rust target-triple syntax)
46-
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
47-
# The archive format to use for windows builds (defaults .zip)
48-
windows-archive = ".tar.gz"
49-
# The archive format to use for non-windows builds (defaults .tar.xz)
50-
unix-archive = ".tar.gz"
51-
# Path that installers should place binaries in
52-
install-path = "CARGO_HOME"
53-
# Whether to install an updater program
54-
install-updater = false
55-
# A namespace to use when publishing this package to the npm registry
56-
npm-scope = "@oxfordabstracts"
57-
# Publish jobs to run in CI
58-
publish-jobs = ["npm"]

dist-workspace.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[workspace]
2+
members = ["cargo:."]
3+
4+
[dist]
5+
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
6+
cargo-dist-version = "0.22.1"
7+
# CI backends to support
8+
ci = "github"
9+
# The installers to generate for each app
10+
installers = ["npm"]
11+
# Target platforms to build apps for (Rust target-triple syntax)
12+
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
13+
# The archive format to use for windows builds (defaults .zip)
14+
windows-archive = ".tar.gz"
15+
# The archive format to use for non-windows builds (defaults .tar.xz)
16+
unix-archive = ".tar.gz"
17+
# Path that installers should place binaries in
18+
install-path = "CARGO_HOME"
19+
# Whether to install an updater program
20+
install-updater = false
21+
# A namespace to use when publishing this package to the npm registry
22+
npm-scope = "@oxfordabstracts"
23+
# Publish jobs to run in CI
24+
publish-jobs = ["npm"]
25+
26+
[dist.github-custom-runners]
27+
global = "ubuntu-latest"
28+
x86_64-unknown-linux-gnu = "ubuntu-latest"

0 commit comments

Comments
 (0)