https://github.com/hhirsch/sps-buddy
A tool to check coding standards in structured text.
https://github.com/hhirsch/sps-buddy
plc siemens siemens-s7 siemens-s7-plcs sps structured-text
Last synced: about 1 month ago
JSON representation
A tool to check coding standards in structured text.
- Host: GitHub
- URL: https://github.com/hhirsch/sps-buddy
- Owner: hhirsch
- License: gpl-3.0
- Created: 2025-02-21T12:47:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-27T06:45:46.000Z (about 1 year ago)
- Last Synced: 2025-04-27T07:35:58.506Z (about 1 year ago)
- Topics: plc, siemens, siemens-s7, siemens-s7-plcs, sps, structured-text
- Language: Go
- Homepage:
- Size: 3.3 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SPS Buddy
A tool to check coding standards in structured text.
# Usage
```
sps-buddy example.scl
```
Add steps like these to your github actions:
```
- name: Install SPS-Buddy
uses: jaxxstorm/action-install-gh-release@v2.0.0
with:
repo: hhirsch/sps-buddy
chmod: 0755
- name: Check Code-Conventions
run: sps-buddy --batch > /dev/null
```
# Features
- checks that your variable names are in mixed camel case
- checks that your constant names are in capital snake case
- returns proper exit codes for use in CI pipelines
- output is routed to stdout and stderr so you can handle error messages and regular output separately
SPS buddy is free Software licensed under the GNU General Public License v3.
See for details.
Copyright (C) 2025 Henry Hirsch