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.

Commite6b436b

Browse files
committed
basic Makefile
1 parent309ab2c commite6b436b

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

‎Makefile‎

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
2+
BELONG = "coderplanets"
3+
REPO = "coderplanets_server"
4+
5+
CI_BUILD_LINK = "https://travis-ci.org/$(BELONG)/$(REPO)"
6+
CI_COVER_LINK = "https://coveralls.io/github/$(BELONG)/$(REPO)"
7+
CI_DOC_LINK = "https://inch-ci.org/github/$(BELONG)/$(REPO)"
8+
9+
GITHUB_CODE_LINK = "https://github.com/$(BELONG)/$(REPO)"
10+
GITHUB_DOC_LINK = "https://github.com/$(BELONG)/$(REPO)/tree/dev/docs"
11+
GITHUB_PR_LINK = "https://github.com/$(BELONG)/$(REPO)/pulls"
12+
GITHUB_ISSUE_LINK = "https://github.com/$(BELONG)/$(REPO)/issues"
13+
14+
ci:
15+
@echo"\n"
16+
@echo" [valid ci commands]"
17+
@echo" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
18+
@echo" ci.build : browse travis status"
19+
@echo" |$(CI_BUILD_LINK)"
20+
@echo" ........................................"
21+
@echo" ci.cover : browse test coveralls status"
22+
@echo" |$(CI_COVER_LINK)"
23+
@echo" ........................................"
24+
@echo" ci.doc : browse doc coverage status"
25+
@echo" |$(CI_DOC_LINK)"
26+
@echo"\n"
27+
28+
github:
29+
@echo"\n"
30+
@echo" [valid github commands]"
31+
@echo" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
32+
@echo" github.code : browse source code in github"
33+
@echo" |$(GITHUB_CODE_LINK)"
34+
@echo" ........................................"
35+
@echo" github.doc : browse repo docs in github"
36+
@echo" |$(GITHUB_DOC_LINK)"
37+
@echo" ........................................"
38+
@echo" github.pr : browse PRs in github"
39+
@echo" |$(GITHUB_PR_LINK)"
40+
@echo" ........................................"
41+
@echo" github.issue : browse issues in github"
42+
@echo" |$(GITHUB_ISSUE_LINK)"
43+
@echo" ........................................"
44+
@echo" github.issue.new : create issue in github"
45+
@echo" |$(GITHUB_ISSUE_LINK)/new"
46+
@echo"\n"
47+
48+
# ci helpers
49+
ci.build:
50+
open"$(CI_BUILD_LINK)"
51+
ci.cover:
52+
open"$(CI_COVER_LINK)"
53+
ci.doc:
54+
open"$(CI_DOC_LINK)"
55+
56+
# github helpers
57+
github.code:
58+
open"$(GITHUB_CODE_LINK)"
59+
github.doc:
60+
open"$(GITHUB_DOC_LINK)"
61+
github.pr:
62+
open"$(GITHUB_PR_LINK)"
63+
github.issue:
64+
open"$(GITHUB_ISSUE_LINK)"
65+
github.issue.new:
66+
open"$(GITHUB_ISSUE_LINK)/new"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp