Browse Source

Using PowerShell for CLI scripts on Windows

pull/10/head
Cédric Belin 8 months ago
parent
commit
19887ef497
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      .gitattributes
  2. +0
    -3
      bin/coveralls.cmd
  3. +3
    -0
      bin/coveralls.ps1

+ 1
- 1
.gitattributes View File

@ -1,13 +1,13 @@
* text=auto
.* text
*.cmd text
*.http text
*.info text
*.json text
*.md text
*.neon text
*.php text diff=php
*.ps1 text
*.txt text
*.xml text
*.yaml text


+ 0
- 3
bin/coveralls.cmd View File

@ -1,3 +0,0 @@
@echo off
set BASE_DIR=%~dp0
php "%BASE_DIR:~0,-1%\coveralls" %*

+ 3
- 0
bin/coveralls.ps1 View File

@ -0,0 +1,3 @@
#!/usr/bin/env pwsh
$basedir = Split-Path $MyInvocation.MyCommand.Definition -Parent
& php "$basedir/coveralls" $args

Loading…
Cancel
Save