Lowercased some files (#7713)

This commit is contained in:
Anton-4 2025-03-24 16:43:18 +01:00 committed by GitHub
parent 843076e11e
commit e9690c9bce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 19 additions and 19 deletions

View file

@ -48,8 +48,8 @@ jobs:
# Files that ci manager workflows should not run on. # Files that ci manager workflows should not run on.
- '!.gitignore' - '!.gitignore'
- '!.reuse' - '!.reuse'
- '!AUTHORS' - '!authors'
- '!LEGAL_DETAILS' - '!legal_details'
- '!LICENSE' - '!LICENSE'
- '!*.md' - '!*.md'
- '!src/**/*.md' - '!src/**/*.md'

View file

@ -19,7 +19,7 @@ jobs:
id: check_ignored_files id: check_ignored_files
run: | run: |
git fetch origin ${{ github.base_ref }} git fetch origin ${{ github.base_ref }}
if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -qvE '(\.md$|\.css$|\.html$|^AUTHORS$)'; then if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -qvE '(\.md$|\.css$|\.html$|^authors$)'; then
echo "should_run_tests=y" >> $GITHUB_OUTPUT echo "should_run_tests=y" >> $GITHUB_OUTPUT
else else
echo "should_run_tests=n" >> $GITHUB_OUTPUT echo "should_run_tests=n" >> $GITHUB_OUTPUT
@ -39,7 +39,7 @@ jobs:
id: check_rs_comments id: check_rs_comments
run: | run: |
git fetch origin ${{ github.base_ref }} git fetch origin ${{ github.base_ref }}
if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -qvE '(\.md$|\.css$|\.html$|^AUTHORS$|\.rs|\.roc)'; then if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -qvE '(\.md$|\.css$|\.html$|^authors$|\.rs|\.roc)'; then
echo "should_run_tests=y" >> $GITHUB_OUTPUT echo "should_run_tests=y" >> $GITHUB_OUTPUT
else else
if git diff --unified=0 origin/${{ github.base_ref }} HEAD '*.rs' | grep -E --color=never '^[+-]' | grep -qvE '^(\+\+\+|\-\-\-|[+-]\s*($|\/\/[^\/]|\/\*.*\*\/\s*$))'; then if git diff --unified=0 origin/${{ github.base_ref }} HEAD '*.rs' | grep -E --color=never '^[+-]' | grep -qvE '^(\+\+\+|\-\-\-|[+-]\s*($|\/\/[^\/]|\/\*.*\*\/\s*$))'; then
@ -53,7 +53,7 @@ jobs:
id: check_roc_comments id: check_roc_comments
run: | run: |
git fetch origin ${{ github.base_ref }} git fetch origin ${{ github.base_ref }}
if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -qvE '(\.md$|\.css$|\.html$|^AUTHORS$|\.rs|\.roc)'; then if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -qvE '(\.md$|\.css$|\.html$|^authors$|\.rs|\.roc)'; then
echo "should_run_tests=y" >> $GITHUB_OUTPUT echo "should_run_tests=y" >> $GITHUB_OUTPUT
else else
if git diff --unified=0 origin/${{ github.base_ref }} HEAD '*.roc' | grep -E --color=never '^[+-]' | grep -qvE '^(\+\+\+|\-\-\-|[+-]\s*($|#))'; then if git diff --unified=0 origin/${{ github.base_ref }} HEAD '*.roc' | grep -E --color=never '^[+-]' | grep -qvE '^(\+\+\+|\-\-\-|[+-]\s*($|#))'; then

View file

@ -17,8 +17,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Check for duplicate AUTHORS - name: Check for duplicate authors
run: diff <(sort AUTHORS) <(sort AUTHORS | uniq) # The < operator treats a string as a file. diff 'succeeds' if no difference. run: diff <(sort authors) <(sort authors | uniq) # The < operator treats a string as a file. diff 'succeeds' if no difference.
- name: Update PATH to use zig 13 - name: Update PATH to use zig 13
run: | run: |

4
.gitignore vendored
View file

@ -8,9 +8,9 @@
# Specifically keep these files with no extension # Specifically keep these files with no extension
!Earthfile !Earthfile
!AUTHORS !authors
!LICENSE* !LICENSE*
!LEGAL* !legal*
!Dockerfile !Dockerfile
# .reuse/dep5 see https://reuse.software/ # .reuse/dep5 see https://reuse.software/
!dep5 !dep5

View file

@ -2,7 +2,7 @@
## Code of Conduct ## Code of Conduct
We are committed to providing a friendly, safe and welcoming environment for all. See our [Code of Conduct](CODE_OF_CONDUCT.md) for details. We are committed to providing a friendly, safe and welcoming environment for all. See our [Code of Conduct](code_of_conduct.md) for details.
## How to contribute ## How to contribute

View file

View file

@ -55,6 +55,6 @@
"build.zig.zon", "build.zig.zon",
"src", "src",
"LICENSE", "LICENSE",
"LEGAL_DETAILS", "legal_details",
}, },
} }

View file

@ -10,7 +10,7 @@ strip ./target/release-with-lto/roc_language_server
mkdir -p $1 $1/examples mkdir -p $1 $1/examples
mv target/release-with-lto/{roc,roc_language_server,lib} $1 mv target/release-with-lto/{roc,roc_language_server,lib} $1
mv LICENSE LEGAL_DETAILS $1 mv LICENSE legal_details $1
mv crates/cli/tests/platform-switching $1/examples mv crates/cli/tests/platform-switching $1/examples
mv examples/README.md $1/examples mv examples/README.md $1/examples

View file

@ -17,7 +17,7 @@ use roc_region::all::{Loc, Region};
// BinOp precedence logic adapted from Gluon by Markus Westerlind // BinOp precedence logic adapted from Gluon by Markus Westerlind
// https://github.com/gluon-lang/gluon - license information can be found in // https://github.com/gluon-lang/gluon - license information can be found in
// the LEGAL_DETAILS file in the root directory of this distribution. // the legal_details file in the root directory of this distribution.
// //
// Thank you, Markus! // Thank you, Markus!

View file

@ -15,7 +15,7 @@ pub fn path_to_roc_binary() -> PathBuf {
pub fn path_to_binary(binary_name: &str) -> PathBuf { pub fn path_to_binary(binary_name: &str) -> PathBuf {
// Adapted from https://github.com/volta-cli/volta/blob/cefdf7436a15af3ce3a38b8fe53bb0cfdb37d3dd/tests/acceptance/support/sandbox.rs#L680 // Adapted from https://github.com/volta-cli/volta/blob/cefdf7436a15af3ce3a38b8fe53bb0cfdb37d3dd/tests/acceptance/support/sandbox.rs#L680
// by the Volta Contributors - license information can be found in // by the Volta Contributors - license information can be found in
// the LEGAL_DETAILS file in the root directory of this distribution. // the legal_details file in the root directory of this distribution.
// //
// Thank you, Volta contributors! // Thank you, Volta contributors!
let mut path = env::var_os("CARGO_BIN_PATH") let mut path = env::var_os("CARGO_BIN_PATH")

View file

@ -211,7 +211,7 @@ fn parse_literal_suffix(num_str: &str) -> (Option<ParsedWidth>, &str) {
/// ///
/// The Rust Project is dual-licensed under either Apache 2.0 or MIT, /// The Rust Project is dual-licensed under either Apache 2.0 or MIT,
/// at the user's choice. License information can be found in /// at the user's choice. License information can be found in
/// the LEGAL_DETAILS file in the root directory of this distribution. /// the legal_details file in the root directory of this distribution.
/// ///
/// Thanks to the Rust project and its contributors! /// Thanks to the Rust project and its contributors!
fn from_str_radix(src: &str, radix: u32) -> Result<ParsedNumResult, IntErrorKind> { fn from_str_radix(src: &str, radix: u32) -> Result<ParsedNumResult, IntErrorKind> {

View file

@ -18,7 +18,7 @@ pub struct Out {
fn path_to_roc_binary() -> PathBuf { fn path_to_roc_binary() -> PathBuf {
// Adapted from https://github.com/volta-cli/volta/blob/cefdf7436a15af3ce3a38b8fe53bb0cfdb37d3dd/tests/acceptance/support/sandbox.rs#L680 // Adapted from https://github.com/volta-cli/volta/blob/cefdf7436a15af3ce3a38b8fe53bb0cfdb37d3dd/tests/acceptance/support/sandbox.rs#L680
// by the Volta Contributors - license information can be found in // by the Volta Contributors - license information can be found in
// the LEGAL_DETAILS file in the root directory of this distribution. // the legal_details file in the root directory of this distribution.
// //
// Thank you, Volta contributors! // Thank you, Volta contributors!
let mut path = env::var_os("CARGO_BIN_PATH") let mut path = env::var_os("CARGO_BIN_PATH")

View file

@ -11,7 +11,7 @@ and a few times when Roc community members have met up in person.
### [Code of Conduct](#code-of-conduct) {#code-of-conduct} ### [Code of Conduct](#code-of-conduct) {#code-of-conduct}
The Roc project enforces [a code of conduct](https://github.com/roc-lang/roc/blob/main/CODE_OF_CONDUCT.md). Please read and follow it! The Roc project enforces [a code of conduct](https://github.com/roc-lang/roc/blob/main/code_of_conduct.md). Please read and follow it!
### [Contributing](#contributing) {#contributing} ### [Contributing](#contributing) {#contributing}

View file

@ -56,12 +56,12 @@
# Preloading fonts requires CORS headers for some reason # Preloading fonts requires CORS headers for some reason
Access-Control-Allow-Origin = "*" Access-Control-Allow-Origin = "*"
# Redirect roc-lang.org/authors to the AUTHORS file in this repo # Redirect roc-lang.org/authors to the authors file in this repo
# #
# This is referenced in the LICENSE file, which says to see roc-lang.org/authors # This is referenced in the LICENSE file, which says to see roc-lang.org/authors
# for a list of authors! # for a list of authors!
[[redirects]] [[redirects]]
from = "/authors" from = "/authors"
to = "https://raw.githubusercontent.com/roc-lang/roc/main/AUTHORS" to = "https://raw.githubusercontent.com/roc-lang/roc/main/authors"
force = true force = true
status = 200 status = 200