boostorg / endian

Boost Endian library
45 stars 49 forks source link

Add drone debugging variable DRONE_STAGE_MACHINE #52

Closed sdarwin closed 5 months ago

sdarwin commented 5 months ago

Since the jsonnet method doesn't call functions.star, please add this DRONE_STAGE_MACHINE variable to any projects, as shown.

pdimov commented 5 months ago

echo $env:DRONE_STAGE_MACHINE doesn't look correct to me - this is PowerShell syntax. Should probably be echo %DRONE_STAGE_MACHINE%?

pdimov commented 5 months ago

Yeah:

C:\drone\src>echo $env:DRONE_STAGE_MACHINE 
$env:DRONE_STAGE_MACHINE
sdarwin commented 5 months ago

You're right! I copied that from an existing script, which was Powershell, instead of DOS.
Updated.