-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/travis config #7
Conversation
@nllong do we want the build to still produce an executable named |
Yeah, I think i like |
@@ -10,7 +10,7 @@ import ( | |||
"strings" | |||
|
|||
"github.com/antlr/antlr4/runtime/Go/antlr" | |||
"github.com/urbanopt/modelicafmt/thirdparty/parser" | |||
"github.com/urbanopt/modelica-fmt/thirdparty/parser" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice...
@@ -21,13 +21,28 @@ To run the example: | |||
|
|||
The resulting .mo file can be diffed to the previous file to compare how the modelica-fmt updates the file. | |||
|
|||
## Usage with pre-commit framework | |||
After adding modelicafmt to your system path, add the following lines to your .pre-commit-config.yaml file under the `repos:` section | |||
```yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pre-commit looks good. I'll test an make sure this works with the GMT project, even though most of the files are .mot and not .mo.
Changes
go build -o modelicafmt
Fixes