Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
[社内LT]AndroidプロジェクトにDangerを導入してみた
Search
きりみん
October 16, 2017
Programming
0
120
[社内LT]AndroidプロジェクトにDangerを導入してみた
社内LT
きりみん
October 16, 2017
Tweet
Share
More Decks by きりみん
See All by きりみん
AndroidエンジニアがRailsにチャレンジしてる理由
kirimin
1
1.5k
What are AtCoder and competitive programming
kirimin
0
10k
バーチャル男声幼女プログラマーとして活動した1年間の振り返り
kirimin
0
1k
アプリエンジニアでも神絵師になりたい!
kirimin
4
5.4k
Watashi ni Kotlin ga maiorita
kirimin
0
530
NEMのAPIとモザイクであそぼう
kirimin
0
380
はじめようきれいなコード
kirimin
8
3.1k
Material Components for Android触ってみる
kirimin
7
2k
[社内LT]あたらしいMaterial Design
kirimin
1
1.7k
Other Decks in Programming
See All in Programming
Optimizing JRuby 10
headius
0
500
ComposeでWebアプリを作る技術
tbsten
0
120
Browser and UI #2 HTML/ARIA
ken7253
2
120
Instrumentsを使用した アプリのパフォーマンス向上方法
hinakko
0
120
カオスに立ち向かう小規模チームの装備の選択〜フルスタックTSという装備の強み _ 弱み〜/Choosing equipment for a small team facing chaos ~ Strengths and weaknesses of full-stack TS~
bitkey
1
110
The Implementations of Advanced LR Parser Algorithm
junk0612
1
810
PHPバージョンアップから始めるOSSコントリビュート / how2oss-contribute
dmnlk
1
1.1k
ComposeでのPicture in Picture
takathemax
0
120
Amazon CloudWatchの地味だけど強力な機能紹介!
itotsum
0
190
監視 やばい
syossan27
11
10k
小田原でみんなで一句詠みたいな #phpcon_odawara
stefafafan
0
350
Being an ethical software engineer
xgouchet
PRO
0
220
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
178
53k
Docker and Python
trallard
44
3.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Automating Front-end Workflow
addyosmani
1370
200k
Code Review Best Practice
trishagee
67
18k
What's in a price? How to price your products and services
michaelherold
245
12k
Optimizing for Happiness
mojombo
377
70k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
The Language of Interfaces
destraynor
157
25k
Transcript
AndroidϓϩδΣΫτʹ DangerΛಋೖͯ͠Έͨ @kirimin
Dangerʁ • PRͷࣗಈνΣοΫπʔϧ • ਓྗͰΔඞཁͷͳ͍ϨϏϡʔΛࣗಈԽ͢Δ • ϨϏϡʔݮɺਓؒʹ͔͠ग़དྷͳ͍Ϩ Ϗϡʔʹूத͢Δ
͍ํ • ϓϩδΣΫτԼʹgemfileͱDangerfileΛ Ճ͢Δɻ • DangerfileʹεΫϦϓτΛॻ͘ɻ • CI͔ΒίϚϯυΛୟ͍࣮ͯߦ͢Δɻ bundle install
bundle exec danger
Dangerfile? • ͨͩͷruby script • ҎԼͷΑ͏ʹॻ͘ͱࣗಈͰPRʹίϝϯτͯ͠ ͘ΕΔ message('Αͦ͞͏') warn('ͦ͏') fail('ͩΊͦ͏')
Dangerfile? • PRʹؔ͢ΔใΛgem͔ΒऔಘͰ͖Δ • ͍Ζ͍ΖPlugin͋Δ if github.pr_title.include? '[WIP]' warn('WIPͩΑ') end
࣮ࡍʹͬͨ͜ͱ • Ϛʔδઌ͕masterͳΒΞϥʔτ • λΠτϧʹIssue൪߸ؚ͕·Ε͍ͯͳ͚ΕΞϥʔτ • λΠτϧʹWIPؚ͕·Ε͍ͯͨΒΞϥʔτ • ࣗಈͰؔ࿈IssueΛclose͢Δه๏͕ॻ͔Ε͍ͯͳ͚ΕΞϥʔτ •
assignee͕ઃఆ͞Ε͍ͯͳ͚ΕΞϥʔτ • PR͕࡞͞ΕͨΒSlackʹϝϯγϣϯΛඈ͢
Α͏͢
࣮ࡍͷεΫϦϓτ
Γ͍͚ͨͲग़དྷͯͳ͍͜ͱ • Reviewerʹؚ·Ε͍ͯΔਓʹͷΈϝϯγϣϯ Λඈ͢ ɹ→ReviewerͷҰཡ͕danger͔ΒऔಘͰ͖ͳ ͍ɻGitHub্ͰAPI͕͔Ε͓ͯΓखಈͰऔಘ͢Δ ͷͪΐͬͱ໘
Γ͍͚ͨͲग़དྷͯͳ͍͜ͱ • AndroidLintΛΒͤࣗಈͰίʔυʹࢦఠίϝ ϯτΛຒΊࠐΉ ɹ→AndroidLint͕ͦͦKotlinʹରԠ͍ͯ͠ͳ͍ Β͍͠ͷͰอཹ
͓ΘΓ • ࠓޙػೳ֦ு͍͖͍ͯͨ͠ॴଘ