https://github.com/rruiter87/tcunits
Unit aliases for TwinCAT
https://github.com/rruiter87/tcunits
Last synced: 3 months ago
JSON representation
Unit aliases for TwinCAT
- Host: GitHub
- URL: https://github.com/rruiter87/tcunits
- Owner: rruiter87
- License: mit
- Created: 2022-11-23T12:44:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-24T07:13:07.000Z (over 2 years ago)
- Last Synced: 2025-01-16T04:09:54.546Z (5 months ago)
- Size: 187 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TcTemplate
*A template repo for TwinCAT projects*
## How to use
1. Go to https://github.com/rruiter87/TcTemplate and click **Use this template > Create new repository**.
2. Clone the newly created repo onto your local system.
3. Execute `init.ps1` to initialize pre-commit hooks and rename the project. Important: for this step, Python needs to be installed and the [pre-commit](https://pre-commit.com/) module as well.## pre-commit
The default pre-commit files has hooks for STweep, Python code, C# code, and [prettier](https://prettier.io/) for javascript, html etc. Remove any pre-commits which you do not want, or you do not have access to.
### Requirements
- Python with [pre-commit](https://pre-commit.com/)
- [STweepCLI](https://www.stweep.com/documentation/getting-started-3/)
- [.NET Csharpier](https://csharpier.com/)