From 72b5389ed0e50a2116bc254bb082569997207d95 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Wed, 1 Jul 2026 18:58:21 +0100 Subject: [PATCH] Use consistent spelling --- changelog/v1.1.md | 2 +- compiler-cli/src/lib.rs | 2 +- compiler-core/src/paths.rs | 2 +- compiler-core/src/version.rs | 2 +- docs/threat-model.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/changelog/v1.1.md b/changelog/v1.1.md index ead51a709..dc13a0873 100644 --- a/changelog/v1.1.md +++ b/changelog/v1.1.md @@ -1358,7 +1358,7 @@ Dedicated to the memory of Muhammad Shaheer, a good and caring man. - `true` and `false` can no longer be used as pattern matching variables, to avoid accidental uses of incorrect syntax that is popular in other languages. An error will hint about using Gleam's `True` and `False` values instead. -- You can now remove build artifacts using the new `gleam clean` command. +- You can now remove build artefacts using the new `gleam clean` command. - The `compile-package` can now generate `package.app` files and compile source modules to `.beam` bytecode files. - The flags that `compile-package` accepts have changed. diff --git a/compiler-cli/src/lib.rs b/compiler-cli/src/lib.rs index 1733e1824..46f86f378 100644 --- a/compiler-cli/src/lib.rs +++ b/compiler-cli/src/lib.rs @@ -420,7 +420,7 @@ pub enum Command { packages: Vec, }, - /// Delete any build artifacts for this project + /// Delete any build artefacts for this project Clean, /// Run the language server, to be used by editors diff --git a/compiler-core/src/paths.rs b/compiler-core/src/paths.rs index abeb3636c..32f34d871 100644 --- a/compiler-core/src/paths.rs +++ b/compiler-core/src/paths.rs @@ -136,7 +136,7 @@ impl ProjectPaths { } /// A path to a special file that contains the version of gleam - /// that last built the artifacts along with build-impacting + /// that last built the artefacts along with build-impacting /// configuration, such as whether to generate source maps. If /// this file does not match the current version of gleam we /// will rebuild from scratch diff --git a/compiler-core/src/version.rs b/compiler-core/src/version.rs index 18d8aafaf..f745203d5 100644 --- a/compiler-core/src/version.rs +++ b/compiler-core/src/version.rs @@ -2,6 +2,6 @@ // SPDX-FileCopyrightText: 2022 The Gleam contributors /// The current version of the gleam compiler. If this does not match what is -/// already in the build folder we will not reuse any cached artifacts and +/// already in the build folder we will not reuse any cached artefacts and /// instead build from scratch pub const COMPILER_VERSION: &str = env!("CARGO_PKG_VERSION"); diff --git a/docs/threat-model.md b/docs/threat-model.md index 9450c8703..a5a4a25cb 100644 --- a/docs/threat-model.md +++ b/docs/threat-model.md @@ -136,7 +136,7 @@ attempt to inject malicious code into the subtree of one of our Hex packages. A bad actor could attempt to cause a malicious or modified binary to be published to GitHub Releases, or replace release assets after build. -- The release workflow uses GitHub OIDC and artifact attestations to produce +- The release workflow uses GitHub OIDC and artefact attestations to produce provenance for release assets, published alongside release archives as `.sigstore` files. - Checksums are provided for release archives for users' integrity checking. -- 2.51.2