mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-24 14:06:27 +02:00
filter stdout for compiling as well
This commit is contained in:
parent
8be44bd99c
commit
28a29ca7ed
2 changed files with 3 additions and 1 deletions
3
packages/gleam/0.27.0/compile
vendored
3
packages/gleam/0.27.0/compile
vendored
|
@ -12,4 +12,5 @@ shift
|
||||||
echo "$@" > compile_args
|
echo "$@" > compile_args
|
||||||
|
|
||||||
cd project
|
cd project
|
||||||
gleam build "$@"
|
# Awk is used to remove lines from the output that don't help for the piston output.
|
||||||
|
gleam build "$@" | awk "NR>=4"
|
||||||
|
|
1
packages/gleam/0.27.0/run
vendored
1
packages/gleam/0.27.0/run
vendored
|
@ -2,4 +2,5 @@
|
||||||
|
|
||||||
shift
|
shift
|
||||||
cd project
|
cd project
|
||||||
|
# Awk is used to remove lines from the output that don't help for the piston output.
|
||||||
gleam run $(cat ../compile_args 2> /dev/null) -- "$@" | awk "NR>=4"
|
gleam run $(cat ../compile_args 2> /dev/null) -- "$@" | awk "NR>=4"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue