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
0
130
タスクランナーにmakeを使う
Kohei Tsuchiya
September 05, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
みんなのオブザーバビリティプラットフォームを作ってるんだがパフォーマンスがやばい #mackerelio #srenext
ne_sachirou
0
380
DMMプラットフォームにおけるTiDBの導入から運用まで
pospome
7
3k
ぼっちを避けて楽しむためのアノテコノテ / Various Tips and Tricks to Avoid Loneliness and Have Fun
nrslib
3
1.7k
小さな開発会社を作った理由
polidog
0
1.9k
Composing an API the *right* way (Droidcon Berlin 2024)
zsmb
1
450
Temporalを取り巻く仕様を整理する
sajikix
0
120
CSC307 Lecture 13
javiergs
PRO
0
150
なぜ宣言的 UI は壊れにくいのか / Why declarative UI is less fragile
uenitty
29
13k
ドメイン駆動設計の実践
masuda220
PRO
19
5.2k
Harnessing Large Language Models for Training-free Video Anomaly Detection
tereka114
1
1.3k
社内 LT 会を発足し、アウトプット文化を醸成させるために考えたこと・やったこと / Starting internal LT meetings and fostering an output culture
mackey0225
3
120
Architectures with Lightweight Stores: New Rules and Options
manfredsteyer
PRO
0
100
Featured
See All Featured
Designing with Data
zakiwarfel
96
5k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
20
7.2k
The Cost Of JavaScript in 2023
addyosmani
31
4.7k
YesSQL, Process and Tooling at Scale
rocio
166
14k
5 minutes of I Can Smell Your CMS
philhawksworth
200
19k
4 Signs Your Business is Dying
shpigford
178
21k
The Invisible Side of Design
smashingmag
294
50k
Fashionably flexible responsive web design (full day workshop)
malarkey
399
65k
It's Worth the Effort
3n
181
27k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
How to Ace a Technical Interview
jacobian
274
23k
The Pragmatic Product Professional
lauravandoore
29
6.1k
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を使おう