Added powershell support

This commit is contained in:
Walluce Pinkham 2022-04-13 09:08:12 +01:00
parent 835396c645
commit f2e3803913
5 changed files with 43 additions and 2 deletions

View file

@ -5,8 +5,8 @@ import sys
LANGUAGES = [
'conda', 'coursier', 'dart', 'docker', 'docker_image', 'dotnet', 'fail',
'golang', 'lua', 'node', 'perl', 'pygrep', 'python', 'r', 'ruby', 'rust',
'script', 'swift', 'system',
'golang', 'lua', 'node', 'perl', 'powershell', 'pygrep', 'python', 'r',
'ruby', 'rust', 'script', 'swift', 'system',
]
FIELDS = [
'ENVIRONMENT_DIR', 'get_default_version', 'healthy', 'install_environment',

View file

@ -0,0 +1,6 @@
- id: powershell-example-hook
name: Test Powershell Project
description: Test Powershell Project
entry: test-script.ps1
language: powershell
stages: [commit]

View file

@ -0,0 +1,2 @@
Write-Output "Hello from Powershell"
exit 0