scalafmt: code style for scala
#184
Merged
sandro.labruzzo
merged 5 commits from scalafmt
into beta
2 years ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'scalafmt'
Deleting a branch is permanent. It CANNOT be undone. Continue?
This PR introduces a maven plugin to reformat automatically the scala classes available in the project. https://scalameta.org/scalafmt
In order to support the automatic formatting across the different modules, the type definitions are stored in the
dhp-code-stype
submodule:1b9e8378b3
into beta 2 years agoAs a reference: in order to make the plugin work while compiling the project from the root, as well as on the individual module level (e.g. while oozie-packaging, deploying, running an oozie workflow) the reference to the scalafmt configuration file needed to be expressed as a remote location. I currently set it statically to
https://code-repo.d4science.org/D-Net/dnet-hadoop/raw/branch/beta/dhp-build/dhp-code-style/src/main/resources/scalafmt/scalafmt.conf
A better and more stable location will be updated later on.
1b9e8378b3
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.