-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build,win: add winget config to set up env
- Loading branch information
1 parent
29cf623
commit 2b74f7d
Showing
4 changed files
with
151 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | ||
# Reference: https://github.com/nodejs/node/blob/main/BUILDING.md#windows | ||
properties: | ||
resources: | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: pythonPackage | ||
directives: | ||
description: Install Python 3.12 | ||
module: Microsoft.WinGet.DSC | ||
settings: | ||
id: Python.Python.3.12 | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: vsPackage | ||
directives: | ||
description: Install Visual Studio 2022 Community | ||
allowPrerelease: true | ||
settings: | ||
id: Microsoft.VisualStudio.2022.Community | ||
source: winget | ||
useLatest: true | ||
- resource: Microsoft.VisualStudio.DSC/VSComponents | ||
id: vsComponents | ||
dependsOn: | ||
- vsPackage | ||
directives: | ||
description: Install required VS workloads and components | ||
settings: | ||
productId: Microsoft.VisualStudio.Product.Community | ||
channelId: VisualStudio.17.Release | ||
includeRecommended: true | ||
components: | ||
- Microsoft.VisualStudio.Workload.NativeDesktop | ||
- Microsoft.VisualStudio.Component.VC.Llvm.Clang | ||
- Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: gitPackage | ||
directives: | ||
description: Install Git | ||
settings: | ||
id: Git.Git | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: nasmPackage | ||
directives: | ||
description: Install NetWide Assembler (NASM) | ||
settings: | ||
id: Nasm.Nasm | ||
source: winget | ||
configurationVersion: 0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | ||
# Reference: https://github.com/nodejs/node/blob/main/BUILDING.md#windows | ||
properties: | ||
resources: | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: pythonPackage | ||
directives: | ||
description: Install Python 3.12 | ||
module: Microsoft.WinGet.DSC | ||
settings: | ||
id: Python.Python.3.12 | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: vsPackage | ||
directives: | ||
description: Install Visual Studio 2022 Enterprise | ||
allowPrerelease: true | ||
settings: | ||
id: Microsoft.VisualStudio.2022.Enterprise | ||
source: winget | ||
useLatest: true | ||
- resource: Microsoft.VisualStudio.DSC/VSComponents | ||
id: vsComponents | ||
dependsOn: | ||
- vsPackage | ||
directives: | ||
description: Install required VS workloads and components | ||
settings: | ||
productId: Microsoft.VisualStudio.Product.Enterprise | ||
channelId: VisualStudio.17.Release | ||
includeRecommended: true | ||
components: | ||
- Microsoft.VisualStudio.Workload.NativeDesktop | ||
- Microsoft.VisualStudio.Component.VC.Llvm.Clang | ||
- Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: gitPackage | ||
directives: | ||
description: Install Git | ||
settings: | ||
id: Git.Git | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: nasmPackage | ||
directives: | ||
description: Install NetWide Assembler (NASM) | ||
settings: | ||
id: Nasm.Nasm | ||
source: winget | ||
configurationVersion: 0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | ||
# Reference: https://github.com/nodejs/node/blob/main/BUILDING.md#windows | ||
properties: | ||
resources: | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: pythonPackage | ||
directives: | ||
description: Install Python 3.12 | ||
module: Microsoft.WinGet.DSC | ||
settings: | ||
id: Python.Python.3.12 | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: vsPackage | ||
directives: | ||
description: Install Visual Studio 2022 Professional | ||
allowPrerelease: true | ||
settings: | ||
id: Microsoft.VisualStudio.2022.Professional | ||
source: winget | ||
useLatest: true | ||
- resource: Microsoft.VisualStudio.DSC/VSComponents | ||
id: vsComponents | ||
dependsOn: | ||
- vsPackage | ||
directives: | ||
description: Install required VS workloads and components | ||
settings: | ||
productId: Microsoft.VisualStudio.Product.Professional | ||
channelId: VisualStudio.17.Release | ||
includeRecommended: true | ||
components: | ||
- Microsoft.VisualStudio.Workload.NativeDesktop | ||
- Microsoft.VisualStudio.Component.VC.Llvm.Clang | ||
- Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: gitPackage | ||
directives: | ||
description: Install Git | ||
settings: | ||
id: Git.Git | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: nasmPackage | ||
directives: | ||
description: Install NetWide Assembler (NASM) | ||
settings: | ||
id: Nasm.Nasm | ||
source: winget | ||
configurationVersion: 0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
!.mailmap | ||
!.nycrc | ||
!.yamllint.yaml | ||
!.configurations/ | ||
|
||
# === Rules for root dir === | ||
/core | ||
|