Browse Source

Using PowerShell for CLI script on Windows

tags/v5.9.0
Cédric Belin 2 months ago
parent
commit
ec5a11f0da
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,12 +1,12 @@
* text=auto
.* text

*.cmd text
*.dart text
*.http text
*.info text
*.json text
*.md text
*.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
dart "%BASE_DIR:~0,-1%\coveralls.dart" %*

+ 3
- 0
bin/coveralls.ps1 View File

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

Loading…
Cancel
Save