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
タスクランナーにmakeを使う
Search
Kohei Tsuchiya
September 05, 2020
Programming
180
0
Share
タスクランナーにmakeを使う
Kohei Tsuchiya
September 05, 2020
Other Decks in Programming
See All in Programming
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
530
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
710
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
310
The NotImplementedError Problem in Ruby
koic
1
350
エージェンティックRAGにAWSで入門しよう!
har1101
5
110
ふつうのFeature Flag実践入門
irof
7
3.5k
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
220
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
190
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
3.4k
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.5k
CSC307 Lecture 17
javiergs
PRO
0
310
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
110
Featured
See All Featured
The browser strikes back
jonoalderson
0
1.1k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
220
The Invisible Side of Design
smashingmag
302
52k
So, you think you're a good person
axbom
PRO
2
2k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
150
First, design no harm
axbom
PRO
2
1.2k
We Have a Design System, Now What?
morganepeng
55
8.2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
380
4 Signs Your Business is Dying
shpigford
187
22k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Transcript
タスクランナーにmakeを使う
タスクランナーって 何を使っていますか?
gulp? npm script? shell script?
いいえ。私は・・・
make
./configure make make install のmakeです
makeはタスクランナー としても使えます
使うようになったきっかけ
最近Goにハマってるんだけど、 Goにはタスクランナーとして makeを使う文化がある
Makefileの例
None
デモ
気に入っているところ
1. 大抵のOSでインストールされている 2. docker-composeコマンドを短くできる
2について詳しく説明します
今まではこういうエイリアスを設定してた alias d='docker' alias dc='docker-compose' alias dce='docker-compose exec'
dc build dc up -d dc down dce db mysql
-uroot -proot hoge とかやってた
dce db mysql -uroot -proot hoge ↑が長いのが嫌だった
make db makeを使えばこれでOK
make build make up make down make db 今ではこんな感じ
スッキリ☺
みんなもmakeを使おう