generated from DevPlus1/Unity-Customer-Template
78 lines
1.7 KiB
Markdown
78 lines
1.7 KiB
Markdown
# Validators
|
|
|
|
## PHP
|
|
|
|
- Tool used: `php`
|
|
- Command used: `php -l <file>`
|
|
- Requirements: PHP CLI installed
|
|
- Limitations: syntax only
|
|
|
|
## Python
|
|
|
|
- Tool used: `python3`
|
|
- Command used: `python3 -m py_compile <file>`
|
|
- Requirements: Python 3 installed
|
|
- Limitations: compile/syntax only
|
|
|
|
## JavaScript
|
|
|
|
- Tool used: `node`
|
|
- Command used: `node --check <file>`
|
|
- Requirements: Node.js installed
|
|
- Limitations: syntax only
|
|
|
|
## JSON
|
|
|
|
- Tool used: `jq`
|
|
- Command used: `jq empty <file>`
|
|
- Requirements: `jq` installed
|
|
- Limitations: structure validation only
|
|
|
|
## YAML
|
|
|
|
- Tool used: `yamllint`
|
|
- Command used: `yamllint -f parsable <file>`
|
|
- Requirements: `yamllint` installed
|
|
- Limitations: skipped when tool is unavailable
|
|
|
|
## Shell
|
|
|
|
- Tool used: `bash`
|
|
- Command used: `bash -n <file>`
|
|
- Requirements: Bash installed
|
|
- Limitations: parse check only
|
|
|
|
## Ruby
|
|
|
|
- Tool used: `ruby`
|
|
- Command used: `ruby -c <file>`
|
|
- Requirements: Ruby installed
|
|
- Limitations: syntax only
|
|
|
|
## Perl
|
|
|
|
- Tool used: `perl`
|
|
- Command used: `perl -c <file>`
|
|
- Requirements: Perl installed
|
|
- Limitations: compile/syntax only
|
|
|
|
## C#
|
|
|
|
- Tool used: `dotnet`
|
|
- Command used: `dotnet build <solution-or-project>`
|
|
- Requirements: `.sln` or `.csproj` plus .NET SDK
|
|
- Limitations: standalone `.cs` files are not validated directly; true validation requires a project or solution
|
|
|
|
## C/C++
|
|
|
|
- Tool used: `cmake`
|
|
- Command used: `cmake -S <repo> -B <temp-build-dir>`
|
|
- Requirements: `CMakeLists.txt` and `cmake`
|
|
- Limitations: configure validation only, not full compile unless extended later
|
|
|
|
## HTML
|
|
|
|
- Tool used: `tidy`
|
|
- Command used: `tidy -qe <file>`
|
|
- Requirements: `tidy` installed
|
|
- Limitations: skipped when tool is unavailable
|