Skip to content

Commit

Permalink
Some minor docu changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuebner committed Dec 5, 2022
1 parent cde1aa3 commit 0a17737
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#### Deploy locally
#### Deploy p2 Repository

Create a tag `v0.1.0` and push it. GH Action will create a p2 repository and publish it to GH Pages:

`https://typefox.github.io/xtext2langium/download/updates/v0.1.0/`
#### Maven Deploy locally
##### Setup your local settings.xml

```
Expand Down Expand Up @@ -40,4 +45,5 @@ Start deployment
`mvn clean deploy -P release`

Check the status of the staged repository and release
[oss.sonatype.org](https://oss.sonatype.org/index.html)
[oss.sonatype.org](https://oss.sonatype.org/index.html)

1 change: 0 additions & 1 deletion io.typefox.xtext2langium.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ Require-Bundle: org.eclipse.xtend.lib;bundle-version="2.25.0",
org.eclipse.xtext.xtext.generator;bundle-version="2.25.0",
io.typefox.xtext2langium;bundle-version="0.1.0",
org.eclipse.core.runtime;bundle-version="3.23.0"

Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ class Xtext2LangiumFragment extends AbstractXtextGeneratorFragment {
String outputPath

/**
* If true, enum literal types will be prefixed with the enum type name to avoid name conflicts with other enum literals. Default is true.<br>
* enum Color { RED } will create: type Color_RED = 'RED'
* If true, enum literal types will be prefixed with the enum type name to avoid name conflicts with other enum literals. Default is true.<br><br>
* <code>enum Color: RED;</code> <br>will create:<br><code>Color returns Color: Color_RED;<br>
* Color_RED returns string: 'RED';</code>
*/
@Accessors(PUBLIC_SETTER)
boolean prefixEnumLiterals = true
Expand Down

0 comments on commit 0a17737

Please sign in to comment.