Generate file in build/ directory

This commit is contained in:
Fabrice Reix 2023-08-31 13:48:49 +02:00
parent 9e3a9ae3b2
commit 06275ff775
No known key found for this signature in database
GPG Key ID: BF5213154B2E7155
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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