Skip to content

bung87/stage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stage Build Status

install this package will create pre-commit file under .git/hooks
do nim check,nimpretty to staged files and git add after tasks done.

Usage

Usage:
  stage {SUBCMD}  [sub-command options & parameters]
where {SUBCMD} is one of:
  help        print comprehensive or per-cmd help
  init        init pre commit git hook
  ghWorkflow  init github workflow file
  gitignore   init .gitignore
  fixStyle    fix code style through `nimpretty`
  checkError  check error through `nim check`
  workflow    checkError,fixStyle and run git add

About

nim tasks apply to git hooks

Resources

Stars

Watchers

Forks

Packages

No packages published