tools: Add wabt tools for webassembly file types.
This commit is contained in:
parent
57febfc08a
commit
ce843e89f3
2 changed files with 17 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ tools_for_extensions = [
|
|||
[["php"], ["php7_syntax"]],
|
||||
[["go"], ["go_vet", "golint", "godoc"]],
|
||||
[["bash", "sh", "dash", "ksh"], ["shellcheck"]],
|
||||
[["wasm"], ["wasm-validate", "wasm-objdump"]],
|
||||
[["pdf"], ["pdf2txt"]],
|
||||
[["html", "htm"], ["html_syntax", "html2text", "pandoc"]],
|
||||
[["yaml", "yml"], ["yamllint"]],
|
||||
|
|
@ -238,6 +239,15 @@ tools_for_extensions = [
|
|||
url = "https://github.com/golang/lint"
|
||||
command = "golint -set_exit_status"
|
||||
|
||||
[wasm-validate]
|
||||
dependencies = ["git/github.com/WebAssembly/wabt"]
|
||||
command = "wasm-validate"
|
||||
|
||||
[wasm-objdump]
|
||||
dependencies = ["git/github.com/WebAssembly/wabt"]
|
||||
command = "wasm-objdump --disassemble"
|
||||
success_status = "normal"
|
||||
|
||||
[yamllint]
|
||||
dependencies = ["pip/yamllint"]
|
||||
url = "https://github.com/adrienverge/yamllint"
|
||||
|
|
|
|||
|
|
@ -273,6 +273,13 @@ patches = {
|
|||
"make -f makefile",
|
||||
"install -DT bin/7za /app/bin/7z"]},
|
||||
|
||||
"wabt": {"buildsystem": "simple",
|
||||
"build-commands": [
|
||||
"mkdir build && cd build && "
|
||||
"cmake -DCMAKE_INSTALL_PREFIX=/app ..",
|
||||
"cd build && make -j4 install"]
|
||||
},
|
||||
|
||||
"rpm": {"config-opts": ["--without-lua"]},
|
||||
|
||||
"tidy-html5": {"buildsystem": "simple",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue