fix(whitespaces): convert line endings to CRLF
parent
49066729fa
commit
d0fec51503
|
@ -1,15 +1,15 @@
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
end_of_line = crlf
|
end_of_line = crlf
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
indent_style = space
|
indent_style = space
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[[Mm]akefile{,.*}]
|
[[Mm]akefile{,.*}]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
[*.{yml,yaml}]
|
[*.{yml,yaml}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v2.1.0
|
rev: v2.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
args: [--fix=crlf]
|
args: [--fix=crlf]
|
||||||
|
|
72
appveyor.yml
72
appveyor.yml
|
@ -1,36 +1,36 @@
|
||||||
version: "{build}-{branch}"
|
version: "{build}-{branch}"
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
- gh-pages
|
- gh-pages
|
||||||
|
|
||||||
build: off
|
build: off
|
||||||
deploy: off
|
deploy: off
|
||||||
clone_depth: 49
|
clone_depth: 49
|
||||||
|
|
||||||
image:
|
image:
|
||||||
- Visual Studio 2017
|
- Visual Studio 2017
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
scoop: C:\projects\scoop
|
scoop: C:\projects\scoop
|
||||||
scoop_home: C:\projects\scoop
|
scoop_home: C:\projects\scoop
|
||||||
matrix:
|
matrix:
|
||||||
- PowerShell: 5
|
- PowerShell: 5
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml'
|
- '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml'
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- ps: (Get-PSProvider 'FileSystem').Home = 'C:\projects\'
|
- ps: (Get-PSProvider 'FileSystem').Home = 'C:\projects\'
|
||||||
- ps: if(!(Test-Path "$env:SCOOP")) { git clone -q --depth=1 "https://github.com/lukesampson/scoop" "$env:SCOOP" }
|
- ps: if(!(Test-Path "$env:SCOOP")) { git clone -q --depth=1 "https://github.com/lukesampson/scoop" "$env:SCOOP" }
|
||||||
|
|
||||||
for:
|
for:
|
||||||
- matrix:
|
- matrix:
|
||||||
only:
|
only:
|
||||||
- PowerShell: 5
|
- PowerShell: 5
|
||||||
install:
|
install:
|
||||||
- ps: . "$env:SCOOP_HOME\test\bin\init.ps1"
|
- ps: . "$env:SCOOP_HOME\test\bin\init.ps1"
|
||||||
test_script:
|
test_script:
|
||||||
- ps: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
|
- ps: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
|
||||||
|
|
Loading…
Reference in New Issue