mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-05 03:45:41 +00:00
Add TinyGo build example
This commit is contained in:
parent
384d227efe
commit
a9f7cc1ebb
@ -1,3 +1,5 @@
|
|||||||
|
//go:build !yq_nojson
|
||||||
|
|
||||||
package yqlib
|
package yqlib
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
4
scripts/build-tinygo-yq.sh
Executable file
4
scripts/build-tinygo-yq.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Currently, the `yq_nojson` feature must be enabled when using TinyGo.
|
||||||
|
tinygo build -no-debug -tags "yq_nolua yq_noini yq_notoml yq_noxml yq_nojson" .
|
||||||
Loading…
Reference in New Issue
Block a user