8000 GitHub - gigafiga21/Infra: Everything for project infrastructure - scripts, configs, etc. for fast start.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Everything for project infrastructure - scripts, configs, etc. for fast start.

Notifications You must be signed in to change notification settings

gigafiga21/Infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infra

Everything for project infrastructure - scripts, configs, etc. for fast start.

Available scripts

Commit msg checking

Script is in file GitSyntax/Commit.sh

Bash function checkCommitStyle

# Checks git commit naming style:
# `[Commmit msg starting from capital letter] (issue #[issue id]).`
# {String} $1 - commit message to check
# {String} --style - preset name for checking commit style

Example of usage:

. ./GitSyntax/Commits.sh
checkCommitStyle $COMMITMSG

For more examples see Examples/Commit-*.sh scripts.

Branch name checking

Script is in file GitSyntax/Branch.sh

Bash function checkBranchStyle

# Checks current git branch naming style:
# `[developer's nickname].[2words-issue-description-with-dash-separator].[issue id]`
# {Boolean} $1 - loaded in CI or not

Example of usage:

. ./GitSyntax/Branch.sh
checkBranchStyle $IS_IN_CI

For more examples see Examples/Branch-*.sh scripts.

Linting

Script is in file Linters/Linting.sh

Bash function linting

# Run linters with configs in folder where script locates
# Now available ESLint
# {String} $1 - file list to lint

Example of usage:

. ./Linting/Linting.sh
linting $LIST_OF_CHANGED_FILES

For more examples see Examples/Linting-*.sh scripts.

Universal makefile for cpp

Compiles incrementally every *.cpp file into *.o into Objects directory. After that builds binary file into Build folder. To build test project enter Build/Cpp and type make.

About

Everything for project infrastructure - scripts, configs, etc. for fast start.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0