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
160
タスクランナーにmakeを使う
Kohei Tsuchiya
September 05, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
430
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
170
C++20 射影変換
faithandbrave
0
530
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
190
Create a website using Spatial Web
akkeylab
0
300
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
330
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1.1k
Select API from Kotlin Coroutine
jmatsu
1
190
エンジニア向け採用ピッチ資料
inusan
0
160
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
570
GoのGenericsによるslice操作との付き合い方
syumai
3
690
High-Level Programming Languages in AI Era -Human Thought and Mind-
hayat01sh1da
PRO
0
430
Featured
See All Featured
Speed Design
sergeychernyshev
32
1k
Fireside Chat
paigeccino
37
3.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Designing for humans not robots
tammielis
253
25k
Facilitating Awesome Meetings
lara
54
6.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
The Straight Up "How To Draw Better" Workshop
denniskardys
234
140k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Become a Pro
speakerdeck
PRO
28
5.4k
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を使おう