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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save