Skip to content

Commit

Permalink
feat(nx-quarkus): add aliases for the format executor
Browse files Browse the repository at this point in the history
You can now also use `do-format` or `apply-format` to run the executor
  • Loading branch information
tinesoft committed Feb 14, 2022
1 parent cbcee00 commit bcedf98
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/nx-quarkus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,15 @@ nx clean your-quarkus-app

```
nx run your-quarkus-app:format
// or simply
nx do-format your-quarkus-app
// or
nx apply-format your-quarkus-app
```

### Packaging the project - ('package' Executor)
Expand Down
10 changes: 10 additions & 0 deletions packages/nx-quarkus/executors.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@
"schema": "./src/executors/format/schema.json",
"description": "Executor to format the project"
},
"do-format": {
"implementation": "./src/executors/format/executor",
"schema": "./src/executors/format/schema.json",
"description": "Executor to format the project (alias to 'format' executor)"
},
"apply-format": {
"implementation": "./src/executors/format/executor",
"schema": "./src/executors/format/schema.json",
"description": "Executor to format the project (alias to 'format' executor)"
},
"build": {
"implementation": "./src/executors/build/executor",
"schema": "./src/executors/build/schema.json",
Expand Down

0 comments on commit bcedf98

Please sign in to comment.