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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Kohei Tsuchiya
September 05, 2020
Programming
0
180
タスクランナーにmakeを使う
Kohei Tsuchiya
September 05, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
Event Storming
hschwentner
3
1.3k
CSC307 Lecture 09
javiergs
PRO
1
850
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
2.1k
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
130
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
210
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
380
CSC307 Lecture 12
javiergs
PRO
0
450
あなたはユーザーではない #PdENight
kajitack
4
290
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
490
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
820
ふん…おもしれぇ Parser。RubyKaigi 行ってやるぜ
aki_pin0
0
120
朝日新聞のデジタル版を支えるGoバックエンド ー価値ある情報をいち早く確実にお届けするために
junkiishida
1
280
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Faster Mobile Websites
deanohume
310
31k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
64
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Technical Leadership for Architectural Decision Making
baasie
2
270
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
940
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
Typedesign – Prime Four
hannesfritz
42
3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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を使おう