Run of prettier over whole repo

pull/84/head
Andre Richter 4 years ago
parent 135a0759e0
commit 1d46dd40b6
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

@ -1 +1 @@
custom: ['https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials/blob/master/SPONSORING.md'] custom: ["https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials/blob/master/SPONSORING.md"]

@ -5,18 +5,18 @@ on:
branches: branches:
- master - master
paths-ignore: paths-ignore:
- 'utils/**' - "utils/**"
- 'doc/**' - "doc/**"
- 'docker/**' - "docker/**"
pull_request: pull_request:
branches: branches:
- master - master
paths-ignore: paths-ignore:
- 'utils/**' - "utils/**"
- 'doc/**' - "doc/**"
- 'docker/**' - "docker/**"
schedule: schedule:
- cron: '0 5 * * *' - cron: "0 5 * * *"
jobs: jobs:
build: build:
@ -24,23 +24,23 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Set up Ruby 2.x - name: Set up Ruby 2.x
uses: actions/setup-ruby@v1 uses: actions/setup-ruby@v1
with: with:
ruby-version: 2.x ruby-version: 2.x
- name: Set up Rust nightly - name: Set up Rust nightly
run: | run: |
rustup self update rustup self update
rustup toolchain install nightly --component llvm-tools-preview rustup toolchain install nightly --component llvm-tools-preview
rustup default nightly rustup default nightly
rustup target add aarch64-unknown-none-softfloat rustup target add aarch64-unknown-none-softfloat
cargo install cargo-binutils cargo install cargo-binutils
- name: Set up Ruby - name: Set up Ruby
run: | run: |
gem install bundler gem install bundler
bundle config set without 'uart' bundle config set without 'uart'
bundle install --retry 3 bundle install --retry 3
- name: Make - name: Make
run: | run: |
BSP=rpi3 bundle exec ruby utils/devtool.rb make BSP=rpi3 bundle exec ruby utils/devtool.rb make

@ -5,18 +5,18 @@ on:
branches: branches:
- master - master
paths-ignore: paths-ignore:
- 'utils/**' - "utils/**"
- 'doc/**' - "doc/**"
- 'docker/**' - "docker/**"
pull_request: pull_request:
branches: branches:
- master - master
paths-ignore: paths-ignore:
- 'utils/**' - "utils/**"
- 'doc/**' - "doc/**"
- 'docker/**' - "docker/**"
schedule: schedule:
- cron: '0 5 * * *' - cron: "0 5 * * *"
jobs: jobs:
build: build:
@ -24,23 +24,23 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Set up Ruby 2.x - name: Set up Ruby 2.x
uses: actions/setup-ruby@v1 uses: actions/setup-ruby@v1
with: with:
ruby-version: 2.x ruby-version: 2.x
- name: Set up Rust nightly - name: Set up Rust nightly
run: | run: |
rustup self update rustup self update
rustup toolchain install nightly --component llvm-tools-preview rustup toolchain install nightly --component llvm-tools-preview
rustup default nightly rustup default nightly
rustup target add aarch64-unknown-none-softfloat rustup target add aarch64-unknown-none-softfloat
cargo install cargo-binutils cargo install cargo-binutils
- name: Set up Ruby - name: Set up Ruby
run: | run: |
gem install bundler gem install bundler
bundle config set without 'uart' bundle config set without 'uart'
bundle install --retry 3 bundle install --retry 3
- name: Make - name: Make
run: | run: |
BSP=rpi4 bundle exec ruby utils/devtool.rb make BSP=rpi4 bundle exec ruby utils/devtool.rb make

@ -14,31 +14,31 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Set up Ruby 2.x - name: Set up Ruby 2.x
uses: actions/setup-ruby@v1 uses: actions/setup-ruby@v1
with: with:
ruby-version: 2.x ruby-version: 2.x
- name: Set up Rust nightly - name: Set up Rust nightly
run: | run: |
rustup self update rustup self update
rustup toolchain install nightly --component rustfmt clippy rustup toolchain install nightly --component rustfmt clippy
rustup default nightly rustup default nightly
rustup target add aarch64-unknown-none-softfloat rustup target add aarch64-unknown-none-softfloat
- name: Set up Ruby - name: Set up Ruby
run: | run: |
gem install bundler gem install bundler
bundle config set without 'uart' bundle config set without 'uart'
bundle install --retry 3 bundle install --retry 3
- name: Setup misspell - name: Setup misspell
run: | run: |
curl -L -o ./install-misspell.sh https://git.io/misspell curl -L -o ./install-misspell.sh https://git.io/misspell
sh ./install-misspell.sh -b ~/bin sh ./install-misspell.sh -b ~/bin
- name: Run checks - name: Run checks
run: | run: |
BSP=rpi3 bundle exec ruby utils/devtool.rb clippy BSP=rpi3 bundle exec ruby utils/devtool.rb clippy
BSP=rpi4 bundle exec ruby utils/devtool.rb clippy BSP=rpi4 bundle exec ruby utils/devtool.rb clippy
bundle exec ruby utils/devtool.rb copyright bundle exec ruby utils/devtool.rb copyright
bundle exec ruby utils/devtool.rb fmt_check bundle exec ruby utils/devtool.rb fmt_check
bundle exec ruby utils/devtool.rb misspell bundle exec ruby utils/devtool.rb misspell
bundle exec ruby utils/devtool.rb rubocop bundle exec ruby utils/devtool.rb rubocop

@ -5,18 +5,18 @@ on:
branches: branches:
- master - master
paths-ignore: paths-ignore:
- 'utils/**' - "utils/**"
- 'doc/**' - "doc/**"
- 'docker/**' - "docker/**"
pull_request: pull_request:
branches: branches:
- master - master
paths-ignore: paths-ignore:
- 'utils/**' - "utils/**"
- 'doc/**' - "doc/**"
- 'docker/**' - "docker/**"
schedule: schedule:
- cron: '0 5 * * *' - cron: "0 5 * * *"
jobs: jobs:
build: build:
@ -24,23 +24,23 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Set up Ruby 2.x - name: Set up Ruby 2.x
uses: actions/setup-ruby@v1 uses: actions/setup-ruby@v1
with: with:
ruby-version: 2.x ruby-version: 2.x
- name: Set up Rust nightly - name: Set up Rust nightly
run: | run: |
rustup self update rustup self update
rustup toolchain install nightly --component llvm-tools-preview rustup toolchain install nightly --component llvm-tools-preview
rustup default nightly rustup default nightly
rustup target add aarch64-unknown-none-softfloat rustup target add aarch64-unknown-none-softfloat
cargo install cargo-binutils cargo install cargo-binutils
- name: Set up Ruby - name: Set up Ruby
run: | run: |
gem install bundler gem install bundler
bundle config set without 'uart' bundle config set without 'uart'
bundle install --retry 3 bundle install --retry 3
- name: Make all - name: Make all
run: | run: |
bundle exec ruby utils/devtool.rb test_integration bundle exec ruby utils/devtool.rb test_integration

@ -5,18 +5,18 @@ on:
branches: branches:
- master - master
paths-ignore: paths-ignore:
- 'utils/**' - "utils/**"
- 'doc/**' - "doc/**"
- 'docker/**' - "docker/**"
pull_request: pull_request:
branches: branches:
- master - master
paths-ignore: paths-ignore:
- 'utils/**' - "utils/**"
- 'doc/**' - "doc/**"
- 'docker/**' - "docker/**"
schedule: schedule:
- cron: '0 5 * * *' - cron: "0 5 * * *"
jobs: jobs:
build: build:
@ -24,23 +24,23 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Set up Ruby 2.x - name: Set up Ruby 2.x
uses: actions/setup-ruby@v1 uses: actions/setup-ruby@v1
with: with:
ruby-version: 2.x ruby-version: 2.x
- name: Set up Rust nightly - name: Set up Rust nightly
run: | run: |
rustup self update rustup self update
rustup toolchain install nightly --component llvm-tools-preview rustup toolchain install nightly --component llvm-tools-preview
rustup default nightly rustup default nightly
rustup target add aarch64-unknown-none-softfloat rustup target add aarch64-unknown-none-softfloat
cargo install cargo-binutils cargo install cargo-binutils
- name: Set up Ruby - name: Set up Ruby
run: | run: |
gem install bundler gem install bundler
bundle config set without 'uart' bundle config set without 'uart'
bundle install --retry 3 bundle install --retry 3
- name: Make all - name: Make all
run: | run: |
bundle exec ruby utils/devtool.rb test_unit bundle exec ruby utils/devtool.rb test_unit

@ -1,6 +1,4 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100]
100 }
],
}

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

@ -1,14 +1,7 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.rulers": [ "editor.rulers": [100],
100 "rust-analyzer.checkOnSave.overrideCommand": ["make", "check"],
], "rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.checkOnSave.overrideCommand": [ "rust-analyzer.cargo.features": ["bsp_rpi3"]
"make",
"check"
],
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
"rust-analyzer.cargo.features": [
"bsp_rpi3"
]
} }

Loading…
Cancel
Save