mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-07 14:44:59 +00:00
Lowercased some files (#7713)
This commit is contained in:
parent
843076e11e
commit
e9690c9bce
16 changed files with 19 additions and 19 deletions
4
.github/workflows/ci_manager.yml
vendored
4
.github/workflows/ci_manager.yml
vendored
|
@ -48,8 +48,8 @@ jobs:
|
|||
# Files that ci manager workflows should not run on.
|
||||
- '!.gitignore'
|
||||
- '!.reuse'
|
||||
- '!AUTHORS'
|
||||
- '!LEGAL_DETAILS'
|
||||
- '!authors'
|
||||
- '!legal_details'
|
||||
- '!LICENSE'
|
||||
- '!*.md'
|
||||
- '!src/**/*.md'
|
||||
|
|
6
.github/workflows/ci_manager_old.yml
vendored
6
.github/workflows/ci_manager_old.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
|||
id: check_ignored_files
|
||||
run: |
|
||||
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
|
||||
else
|
||||
echo "should_run_tests=n" >> $GITHUB_OUTPUT
|
||||
|
@ -39,7 +39,7 @@ jobs:
|
|||
id: check_rs_comments
|
||||
run: |
|
||||
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
|
||||
else
|
||||
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
|
||||
run: |
|
||||
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
|
||||
else
|
||||
if git diff --unified=0 origin/${{ github.base_ref }} HEAD '*.roc' | grep -E --color=never '^[+-]' | grep -qvE '^(\+\+\+|\-\-\-|[+-]\s*($|#))'; then
|
||||
|
|
4
.github/workflows/ubuntu_x86_64.yml
vendored
4
.github/workflows/ubuntu_x86_64.yml
vendored
|
@ -17,8 +17,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- 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.
|
||||
- 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.
|
||||
|
||||
- name: Update PATH to use zig 13
|
||||
run: |
|
||||
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -8,9 +8,9 @@
|
|||
|
||||
# Specifically keep these files with no extension
|
||||
!Earthfile
|
||||
!AUTHORS
|
||||
!authors
|
||||
!LICENSE*
|
||||
!LEGAL*
|
||||
!legal*
|
||||
!Dockerfile
|
||||
# .reuse/dep5 see https://reuse.software/
|
||||
!dep5
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## 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
|
||||
|
||||
|
|
|
@ -55,6 +55,6 @@
|
|||
"build.zig.zon",
|
||||
"src",
|
||||
"LICENSE",
|
||||
"LEGAL_DETAILS",
|
||||
"legal_details",
|
||||
},
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ strip ./target/release-with-lto/roc_language_server
|
|||
mkdir -p $1 $1/examples
|
||||
|
||||
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 examples/README.md $1/examples
|
||||
|
|
|
@ -17,7 +17,7 @@ use roc_region::all::{Loc, Region};
|
|||
|
||||
// BinOp precedence logic adapted from Gluon by Markus Westerlind
|
||||
// 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!
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ pub fn path_to_roc_binary() -> 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
|
||||
// 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!
|
||||
let mut path = env::var_os("CARGO_BIN_PATH")
|
||||
|
|
|
@ -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,
|
||||
/// 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!
|
||||
fn from_str_radix(src: &str, radix: u32) -> Result<ParsedNumResult, IntErrorKind> {
|
||||
|
|
|
@ -18,7 +18,7 @@ pub struct Out {
|
|||
fn path_to_roc_binary() -> PathBuf {
|
||||
// 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
|
||||
// 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!
|
||||
let mut path = env::var_os("CARGO_BIN_PATH")
|
||||
|
|
|
@ -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}
|
||||
|
||||
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}
|
||||
|
||||
|
|
|
@ -56,12 +56,12 @@
|
|||
# Preloading fonts requires CORS headers for some reason
|
||||
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
|
||||
# for a list of authors!
|
||||
[[redirects]]
|
||||
from = "/authors"
|
||||
to = "https://raw.githubusercontent.com/roc-lang/roc/main/AUTHORS"
|
||||
to = "https://raw.githubusercontent.com/roc-lang/roc/main/authors"
|
||||
force = true
|
||||
status = 200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue