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
140
タスクランナーにmakeを使う
Kohei Tsuchiya
September 05, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
第3回 Snowflake 中部ユーザ会- dbt × Snowflake ハンズオン
hoto17296
4
390
Honoとフロントエンドの 型安全性について
yodaka
7
1.4k
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
7
4.1k
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
4
290
SwiftUI Viewの責務分離
elmetal
PRO
2
260
もう僕は OpenAPI を書きたくない
sgash708
5
1.9k
5分で理解する SOLID 原則 #phpcon_nagoya
shogogg
1
280
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
220
たのしいSocketのしくみ / Socket Under a Microscope
coe401_
1
380
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
960
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
250
ソフトウェアエンジニアの成長
masuda220
PRO
12
2.1k
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
10
500
Into the Great Unknown - MozCon
thekraken
35
1.6k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Building a Scalable Design System with Sketch
lauravandoore
461
33k
Statistics for Hackers
jakevdp
797
220k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
How to train your dragon (web standard)
notwaldorf
91
5.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
How to Ace a Technical Interview
jacobian
276
23k
Raft: Consensus for Rubyists
vanstee
137
6.8k
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を使おう