Skip to content

kusumotolab/style-coordinator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Style Coordinator

This tool coordinate the difference of coding style of each developer.

Build & Install

This tool requires Java8+ and environment variable JAVA_HOME.

After running the following command, the distribution directory is generated in build/install.

$ gradlew install

To install this tool, move generated style-coordinator directory under $HOME.

How to use in git

Put style files in $HOME. File describing project standard style is named style-default.xml. File describing developer's favorite style is named style.xml.

Add .gitattribute in target project. The following code block shows content of the file.

*.java filter=format

Run the following command. If you specify an option --global alternative to --local, this configuration is available only under your repository.

$ git config --global filter.format.clean ~/style-coordinator/bin/style-coordinator style-default.xml
$ git config --global filter.format.smudge ~/style-coordinator/bin/style-coordinator style.xml

File describing style

The file defined an open standard XML schema for describing coding style. You can export from Eclipse.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%