Skip to content

Commit

Permalink
release 1.0.0-RC5
Browse files Browse the repository at this point in the history
  • Loading branch information
vegegoku committed Oct 19, 2021
1 parent fb6699f commit 6c89f57
Show file tree
Hide file tree
Showing 57 changed files with 203 additions and 1,010 deletions.
61 changes: 36 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ for more help about the generated app command execute `dominokit gen app help`

once an application template is generated, we `cd` inside the generated application e.g `cd sample`.

then to generate a new module with the name `layout` and sub-package `layout` we execute the command below
then to generate a new module with the name `shell` and sub-package `shell` that include a `layout` proxy we execute the command below

`dominokit gen module -n layout -sp layout`
`dominokit gen module -n shell -p layout -sp shell`

this will generate a module that is split into 4 sub-modules.

to generate a module without sub-modules use the `-s` option

`dominokit gen module -n layout -sp layout -s`
`dominokit gen module -n shell -p layout -sp shell -s`


#### Detailed instructions
Expand All @@ -45,51 +45,62 @@ Commands:
```

```
Usage: dominokit generate [COMMAND]
Usage: domino generate [COMMAND]
Generates a domino template project/module
Commands:
help Displays help information about the specified command
app Use with generate command to generate a domino-mvp template project
module Use with generate command to generate a domino-mvp module template
```

```
Usage: domino generate app [-j] [-d=<workingDire>] -g=<groupId> -n=<name>
[-t=<type>] [COMMAND]
Usage: domino generate app [-api] [-c=<compiler>] [-d=<workingDire>]
[-g=<groupId>] -n=<name> [-t=<type>] [COMMAND]
Use with generate command to generate a domino-mvp template project
-d, --dir=<workingDire> absolute path to the directory where the project
should be generated.
-g, --groupId=<groupId> The project group ID, this will be used also for
root package name
-j, --j2cl if true will generate a module that target j2cl
compiler.
-n, --name=<name> The project name, also will be use as the artifact
ID
-t, --type=<type> The type of the project, available types are [mvp,
basic], [mvp] will generate a domino-mvp
application, [basic] will generate simple gwt
with domino-ui application.
-api, --generate-api If true will generate an api module for REST
endpoints implementation, current implementation
is Quarkus with jax-rs.
-c, --compiler=<compiler> The Java to JavaScript compiler to be used
possible values [gwt, j2cl] default is [gwt]
-d, --dir=<workingDire> absolute path to the directory where the project
should be generated.
-g, --groupId=<groupId> The project group ID, this will be used also for
root package name
-n, --name=<name> The project name, also will be use as the artifact
ID
-t, --type=<type> The type of the project :
-[basic] : will generate a simple project with
(client, shared, server)
-[mvp] : will generate a domino-mvp project
Commands:
help Displays help information about the specified command
```

```
Usage: domino generate module [-jst] [-d=<workingDire>] -n=<name>
[-sp=<subPackage>] [COMMAND]
Usage: domino generate module [-bst] [-c=<compiler>] [-d=<workingDire>]
-n=<name> [-p=<prefix>] [-sp=<subPackage>]
[COMMAND]
Use with generate command to generate a domino-mvp module template
-b, --backend if true will generate a domino-mvp backend module,
default implementation is vertx.
-c, --compiler=<compiler> The Java to JavaScript compiler to be used possible
values [gwt, j2cl] default is [gwt]
-d, --dir=<workingDire> absolute path to the module where the project
should be generated.
-j, --j2cl if true will generate a module that target j2cl
compiler.
-n, --name=<name> The module name, also will be use as the artifact ID
-s, --single if true will split the module into more submodules,
[name]-backend, [name]-frontend, [name]
-frontend-ui, [name]-shared
-p, --prefix=<prefix> The module prefix to be used in the generated
classes name, if not present module name will be
used instead
-s, --single If true it will merge client an shared as one
module, a backend module will not be generated
-sp, --subpackage=<subPackage>
the module sub package, this will be appended to
the application rootPackage
-t, --tests if true will generate tests for a multi submodules
module.
Commands:
help Displays help information about the specified command
```
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}
}

plugins{
plugins {
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

Expand All @@ -18,7 +18,7 @@ apply plugin: 'maven'
apply plugin: "com.install4j.gradle"

group = 'org.dominokit'
version = '1.0.0-RC4'
version = '1.0.0-RC5'

description = "Domino CLI"

Expand Down Expand Up @@ -61,7 +61,7 @@ compileJava {
shadowJar {
archiveBaseName = 'domino-cli'
archiveClassifier = 'fat'
version =null
version = null
}

install4j {
Expand All @@ -73,10 +73,10 @@ install4j {
task media(type: com.install4j.gradle.Install4jTask) {
dependsOn 'shadowJar' // example task that prepares the distribution for install4j
projectFile = 'domino-cli.install4j'
variables = [majorVersion: version.substring(0, 1), build: 1234]
variables = [majorVersion: version]
}

jar{
jar {
manifest({
attributes 'Main-Class': mainClassName
})
Expand Down
2 changes: 1 addition & 1 deletion domino-cli.install4j
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<install4j version="8.0.1" transformSequenceNumber="8">
<directoryPresets config="build/libs/domino-cli-fat.jar" />
<application name="dominokit-cli" applicationId="0518-2014-5243-3779" mediaDir="build/install4j" shortName="dominokit-cli" publisher="Dominokit" publisherWeb="www.dominokit.org" version="1.0.0-RC4" macVolumeId="6cb917d1c585346b" javaMinVersion="1.8.0" jdkMode="jdk" jdkName="JDK 1.8" />
<application name="dominokit-cli" applicationId="0518-2014-5243-3779" mediaDir="build/install4j" shortName="dominokit-cli" publisher="Dominokit" publisherWeb="www.dominokit.org" version="${compiler:majorVersion}" macVolumeId="6cb917d1c585346b" javaMinVersion="1.8.0" jdkMode="jdk" jdkName="JDK 1.8" />
<files>
<mountPoints>
<mountPoint id="60" />
Expand Down

This file was deleted.

Loading

0 comments on commit 6c89f57

Please sign in to comment.