Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commitd6f821d

Browse files
committed
feat: add commitizen as commit convention
1 parent5f1ad8b commitd6f821d

File tree

6 files changed

+1259
-0
lines changed

6 files changed

+1259
-0
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ _tuts/
1818
.agignore
1919
docs/draft.ex
2020
cover/excoveralls.html
21+
node_modules/

‎Makefile‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,23 @@ init:
1212

1313
dep:
1414
mix deps.get
15+
npm install# for commitizen
1516

1617
build:
1718
mix compile
1819

20+
commit.help:
21+
$(call commit.help)
22+
@echo"\n"
23+
commit:
24+
@npx git-cz
25+
1926
publish:
2027
$(call publish.help)
28+
@echo"\n"
2129
publish.help:
2230
$(call publish.help)
31+
@echo"\n"
2332
publish.dev:
2433
./publish/dev/packer.sh
2534
publish.prod:
@@ -45,6 +54,7 @@ lint.static:
4554
# open iex with history support
4655
console.help:
4756
$(call console.help)
57+
@echo"\n"
4858
console:
4959
iex --erl"-kernel shell_history enabled" -S mix
5060
console.dev:
@@ -55,8 +65,10 @@ console.mock:
5565
# todo: monitor.apollo monitor.alicloud
5666
dashboard:
5767
$(call dashboard.help)
68+
@echo"\n"
5869
dashboard.help:
5970
$(call dashboard.help)
71+
@echo"\n"
6072
dashboard.apollo:
6173
$(call browse,"$(DASHBOARD_APOLLO_LINK)")
6274
dashboard.aliyun:
@@ -65,8 +77,10 @@ dashboard.aliyun:
6577
# ci helpers
6678
ci:
6779
$(call ci.help)
80+
@echo"\n"
6881
ci.help:
6982
$(call ci.help)
83+
@echo"\n"
7084
ci.build:
7185
$(call browse,"$(CI_BUILD_LINK)")
7286
ci.coverage:
@@ -79,8 +93,10 @@ ci.doc:
7993
# github helpers
8094
github:
8195
$(call github.help)
96+
@echo"\n"
8297
github.help:
8398
$(call github.help)
99+
@echo"\n"
84100
github.code:
85101
$(call browse,"$(GITHUB_CODE_LINK)")
86102
github.doc:

‎Makefile.mk‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,20 @@ define publish.help
4545
@echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
4646
endef
4747

48+
definecommit.help
49+
@echo "\n"
50+
@echo " [valid commit commands]"
51+
@echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
52+
@echo " commit : commit changes follow convention"
53+
@echo " | convention: AngularJS's commit message convention"
54+
@echo " | link: https://github.com/commitizen/cz-cli"
55+
@echo " | link: https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines"
56+
@echo " | require: npm install"
57+
@echo " | require: npm -v > 5.2 to use npx"
58+
@echo " | link: https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b"
59+
@echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
60+
endef
61+
4862
defineconsole.help
4963
@echo "\n"
5064
@echo " [valid console commands]"

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Coverage Status](https://coveralls.io/repos/github/coderplanets/coderplanets_server/badge.svg?branch=dev)](https://coveralls.io/github/coderplanets/coderplanets_server?branch=dev)
55
[![codecov](https://codecov.io/gh/coderplanets/coderplanets_server/branch/dev/graph/badge.svg)](https://codecov.io/gh/coderplanets/coderplanets_server)
66
[![Inline docs](http://inch-ci.org/github/coderplanets/coderplanets_server.svg)](http://inch-ci.org/github/coderplanets/coderplanets_server)
7+
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
78

89
##Basic Architechture
910
![Architechture](https://github.com/mydearxym/mastani_server/blob/master/docs/snapshots/Architechture.png)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp