Hacker News new | ask | show | jobs
by 3eb7988a1663 556 days ago
The shell can be configured per OS. So, Windows can be set to use PowerShell and Linuxy systems will use sh.

From the docs

  set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]

  hello:
    Write-Host "Hello, world!"
Few things work seamlessly across platforms, and that does not seem like a huge burden.