mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2025-01-03 08:45:50 +03:00
Generate file in build/ directory
This commit is contained in:
parent
9e3a9ae3b2
commit
06275ff775
@ -1,7 +1,7 @@
|
||||
Set-StrictMode -Version latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
if (Test-Path tests_ok/output.bin) {
|
||||
Remove-Item tests_ok/output.bin
|
||||
if (Test-Path build/output.bin) {
|
||||
Remove-Item build/output.bin
|
||||
}
|
||||
hurl --output tests_ok/output.bin tests_ok/output.hurl
|
||||
Write-Host (Get-Content tests_ok/output.bin -Raw) -NoNewLine
|
||||
hurl --output build/output.bin tests_ok/output.hurl
|
||||
Write-Host (Get-Content build/output.bin -Raw) -NoNewLine
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -Eeuo pipefail
|
||||
rm -f tests_ok/output.bin
|
||||
hurl --output tests_ok/output.bin tests_ok/output.hurl
|
||||
cat tests_ok/output.bin
|
||||
rm -f build/output.bin
|
||||
hurl --output build/output.bin tests_ok/output.hurl
|
||||
cat build/output.bin
|
||||
|
Loading…
Reference in New Issue
Block a user