Skip to content

Commit

Permalink
update build script to account for configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Lee (POWERSHELL HE/HIM) (from Dev Box) committed Oct 23, 2024
1 parent c88c4a0 commit 9509e22
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ $filesForWindowsPackage = @(
'windowspowershell.dsc.resource.json',
'wmi.dsc.resource.json',
'wmi.resource.ps1',
'configurations/windows_baseline.dsc.yaml',
'configurations/windows_inventory.dsc.yaml'
'windows_baseline.dsc.yaml',
'windows_inventory.dsc.yaml'
)

$filesForLinuxPackage = @(
Expand Down Expand Up @@ -211,7 +211,7 @@ if (!$SkipBuild) {
}

# make sure dependencies are built first so clippy runs correctly
$windows_projects = @("pal", "registry", "reboot_pending", "wmi-adapter")
$windows_projects = @("pal", "registry", "reboot_pending", "wmi-adapter", "configurations/windows")
$macOS_projects = @("resources/brew")
$linux_projects = @("resources/apt")

Expand Down
2 changes: 2 additions & 0 deletions configurations/windows/copy_files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
windows_baseline.dsc.yaml
windows_inventory.dsc.yaml
File renamed without changes.
File renamed without changes.
52 changes: 52 additions & 0 deletions tree-sitter-dscexpression/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"name": "tree-sitter-dscexpression",
"version": "1.0.0",
"description": "Dscexpression grammar for tree-sitter",
"repository": "github:tree-sitter/tree-sitter-dscexpression",
"license": "MIT",
"main": "bindings/node",
"types": "bindings/node",
"keywords": [
"incremental",
"parsing",
"tree-sitter",
"dscexpression"
],
"files": [
"grammar.js",
"binding.gyp",
"prebuilds/**",
"bindings/node/*",
"queries/*",
"src/**",
"*.wasm"
],
"dependencies": {
"node-addon-api": "^8.1.0",
"node-gyp-build": "^4.8.2"
},
"devDependencies": {
"prebuildify": "^6.0.1",
"tree-sitter-cli": "^0.24.3"
},
"peerDependencies": {
"tree-sitter": "^0.21.1"
},
"peerDependenciesMeta": {
"tree-sitter": {
"optional": true
}
},
"scripts": {
"install": "node-gyp-build",
"prestart": "tree-sitter build --wasm",
"start": "tree-sitter playground",
"test": "node --test bindings/node/*_test.js"
},
"tree-sitter": [
{
"scope": "source.dscexpression",
"injection-regex": "^dscexpression$"
}
]
}

0 comments on commit 9509e22

Please sign in to comment.