Fluid is a scaffolding tool inspired by Yeoman.
$ curl -sSLO https://github.com/redgreenio/fluid/releases/download/[version]/fluid &&
chmod a+x fluid &&
sudo mv fluid /usr/local/bin/
The project requires empty directories for a few tests. Please run the following Gradle task to create these directories before development.
$ ./gradlew core:createEmptyDirsForTests
The following run configurations help us test various installation scenarios with the CLI.
Installs valid-generator.jar in the local registry.
Run this configuration after [cli] install. Reproduces the installation scenario where the installed generator has the same version number but a different hash.
Run this configuration after [cli] install. Reproduces the installation scenario where the installed generator has a different version number.
Run this configuration after [cli] install. Runs the valid-generator.jar and generates contents into the /pokran directory.
Prints help.
Prints version information.
Use the cli-local-install convenience Shell script to install the fluid binary on your local machine during development.
Depending on the module that you are working in, you may have to work with JARs. Here are some of the commands that can help with the workflow.
$ jar tf my-jar.jar
Output
META-INF/
META-INF/MANIFEST.MF
com/
com/example/
com/example/generator/
com/example/generator/LibraryProjectConfig.class
com/example/generator/LibraryProjectGenerator.class
strawberry.png
$ jar tfv my-jar.jar
Output
0 Sat Apr 11 11:08:38 IST 2020 META-INF/
332 Sat Apr 11 11:08:38 IST 2020 META-INF/MANIFEST.MF
0 Sat Apr 11 11:08:38 IST 2020 com/
0 Sat Apr 11 11:08:38 IST 2020 com/example/
0 Sat Apr 11 11:08:38 IST 2020 com/example/generator/
2680 Sat Apr 11 11:08:38 IST 2020 com/example/generator/LibraryProjectConfig.class
1411 Sat Apr 11 11:08:38 IST 2020 com/example/generator/LibraryProjectGenerator.class
24246 Sat Apr 11 11:08:38 IST 2020 strawberry.png
$ jar xf my-jar.jar META-INF/MANIFEST.MF
$ ./gradlew build jacocoTestReport
Working with snapshots during debugging could be tricky. You can make it easier by creating an IntelliJ Java Type Renderer. The screenshots below give you information on how to create and use your type renderer.
Working with snapshots during debugging could be tricky. You can make it easier by creating an IntelliJ Java Type Renderer. The screenshots below give you information on how to create and use your type renderer.
Strawberry by Luis Prado from the Noun Project
© Copyright 2020 Red Green, Inc.