Init scoop-main bucket

Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: Richard Kuhnt <r15ch13+git@gmail.com>
This commit is contained in:
h404bi 2019-04-22 20:56:04 +08:00
parent d81dff3b0b
commit ccc24e57b6
484 changed files with 143 additions and 0 deletions

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
# EditorConfig (is awesome): http://EditorConfig.org
# * top-most EditorConfig file
root = true
# default style settings
[*]
charset = utf-8
end_of_line = crlf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{bat,cmd,[Bb][Aa][Tt],[Cc][Mm][Dd]]
# DOS/Win *requires* BAT/CMD files to have CRLF newlines
end_of_line = crlf
[[Mm]akefile{,.*}]
# TAB-style indentation
indent_style = tab

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# retain windows line-endings in case checked out on mac or linux
* text eol=crlf

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*~
._*

6
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"recommendations": [
"EditorConfig.EditorConfig",
"ms-vscode.PowerShell"
]
}

14
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,14 @@
{
"json.schemas": [
{
"url": "https://raw.githubusercontent.com/lukesampson/scoop/master/schema.json",
"fileMatch": [
"bucket/*.json"
]
}
],
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true
}
}

24
LICENSE Normal file
View File

@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# Scoop Main
Core manifests for [Scoop](https://scoop.sh), the Windows command-line installer.
How do I install these manifests?
---------------------------------
Just `scoop install <manifest>`. This is the default bucket for Scoop and is added by default.

35
appveyor.yml Normal file
View File

@ -0,0 +1,35 @@
version: '{branch}-{build}'
branches:
only:
- master
build: off
deploy: off
clone_depth: 2
environment:
scoop: C:\projects\scoop
scoop_home: C:\projects\scoop
matrix:
- PowerShell: 5
- PowerShell: 6
cache:
- '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml'
init:
- 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" }
matrix:
fast_finish: true
for:
- matrix:
only:
- PowerShell: 5
install:
- ps: . "$env:SCOOP_HOME\test\bin\init.ps1"
test_script:
- ps: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
- matrix:
only:
- PowerShell: 6
install:
- pwsh: . "$env:SCOOP_HOME\test\bin\init.ps1"
test_script:
- pwsh: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"

9
bin/auto-pr.ps1 Normal file
View File

@ -0,0 +1,9 @@
param(
# overwrite upstream param
[String]$upstream = "scoopinstaller/scoop-core:master"
)
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
$autopr = "$env:SCOOP_HOME/bin/auto-pr.ps1"
$dir = "$psscriptroot/../bucket" # checks the parent dir
Invoke-Expression -command "$autopr -dir $dir -upstream $upstream $($args | ForEach-Object { "$_ " })"

4
bin/checkurls.ps1 Normal file
View File

@ -0,0 +1,4 @@
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
$checkurls = "$env:SCOOP_HOME/bin/checkurls.ps1"
$dir = "$psscriptroot/../bucket" # checks the parent dir
Invoke-Expression -command "$checkurls -dir $dir $($args | ForEach-Object { "$_ " })"

4
bin/checkver.ps1 Normal file
View File

@ -0,0 +1,4 @@
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
$checkver = "$env:SCOOP_HOME/bin/checkver.ps1"
$dir = "$psscriptroot/../bucket" # checks the parent dir
Invoke-Expression -command "$checkver -dir $dir $($args | ForEach-Object { "$_ " })"

4
bin/formatjson.ps1 Normal file
View File

@ -0,0 +1,4 @@
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
$formatjson = "$env:SCOOP_HOME/bin/formatjson.ps1"
$path = "$psscriptroot/../bucket" # checks the parent dir
Invoke-Expression -command "$formatjson -path $path $($args | ForEach-Object { "$_ " })"

4
bin/missing-checkver.ps1 Normal file
View File

@ -0,0 +1,4 @@
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
$missing_checkver = "$env:SCOOP_HOME/bin/missing-checkver.ps1"
$dir = "$psscriptroot/../bucket" # checks the parent dir
Invoke-Expression -command "$missing_checkver -dir $dir $($args | ForEach-Object { "$_ " })"

4
bin/test.ps1 Normal file
View File

@ -0,0 +1,4 @@
#requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '4.4.0' }
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
Invoke-Pester "$psscriptroot/.."

Some files were not shown because too many files have changed in this diff Show More