generated from l3r8yJ/elegant
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(#4): added pom, settings and base classes
- Loading branch information
1 parent
5f4029c
commit 352dfe9
Showing
13 changed files
with
523 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Check out all text files in UNIX format, with LF as end of line | ||
# Don't change this file. If you have any ideas about it, please | ||
# submit a separate issue about it and we'll discuss. | ||
# Why: - https://github.com/yegor256/qulice/issues/391 | ||
# - https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings | ||
|
||
* text=auto eol=lf | ||
*.java ident | ||
*.xml ident | ||
*.png binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
--- | ||
name: pdd | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
pdd: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- uses: g4s8/pdd-action@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
architect: | ||
- # your GitHub nickname | ||
- maxonfjvipon | ||
docker: | ||
image: yegor256/rultor-image:1.19.0 | ||
assets: | ||
settings.xml: yegor256/objectionary-secrets#settings.xml | ||
pubring.gpg: yegor256/objectionary-secrets#pubring.gpg | ||
secring.gpg: yegor256/objectionary-secrets#secring.gpg | ||
merge: | ||
script: | ||
- "mvn clean install --errors --batch-mode" | ||
script: mvn clean install -Pqulice --errors --batch-mode | ||
release: | ||
pre: false | ||
script: |- | ||
echo "Master branch" | ||
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 | ||
mvn versions:set "-DnewVersion=${tag}" | ||
git commit -am "${tag}" | ||
# add your release pipeline | ||
mvn clean install -Pqulice --errors --batch-mode -Dinvoker.skip -DskipITs | ||
mvn clean deploy -Pobjectionary -Psonatype --errors --settings ../settings.xml -Dstyle.color=never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
# elegant | ||
This is a pre-configured template for your projects in Java, you can use it with any language, [more about it](https://h1alexbel.github.io/2023/01/21/maintainable-project-template.html) | ||
<img alt="logo" src="https://www.objectionary.com/cactus.svg" height="100px" /> | ||
|
||
## Tools: | ||
- [Rultor](https://www.rultor.com/) for CI/CD. | ||
- [0pdd](https://www.0pdd.com/) for issue management. | ||
- [Renovate](https://www.mend.io/free-developer-tools/renovate/) for dependency control. | ||
- [xcop](https://www.yegor256.com/2017/08/29/xcop.html) GitHub action for XML style check. | ||
[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org) | ||
[![DevOps By Rultor.com](http://www.rultor.com/b/objectionary/eo)](http://www.rultor.com/p/objectionary/eo) | ||
[![We recommend IntelliJ IDEA](https://www.elegantobjects.org/intellij-idea.svg)](https://www.jetbrains.com/idea/) | ||
|
||
## How to use? | ||
- Configure actions in `workflows` folder. | ||
- [Configure](https://doc.rultor.com/reference.html) the `@rultor`. | ||
- [Configure](https://www.yegor256.com/2017/04/05/pdd-in-action.html) the `0pdd`. | ||
- [Configure](https://github.com/marketplace/renovate) the `renovate`. | ||
|
||
And you're good to go! | ||
**INEO** (stands for EO Inliner) is the tool to inline EO objects in order to get a faster and | ||
lighter EO code that will be transpiled to faster java by [jeo](https://github.com/objectionary/jeo-maven-plugin). |
Oops, something went wrong.