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
オンデバイスAIとXcode
ryodeveloper
0
310
マイベストのシンプルなデータ基盤の話 - Googleスイートとのつき合い方 / mybest-simple-data-architecture-google-nized
snhryt
0
110
ビルドプロセスをデバッグしよう!
yt8492
0
150
React Nativeならぬ"Vue Native"が実現するかも?_新世代マルチプラットフォーム開発フレームワークのLynxとLynxのVue.js対応を追ってみよう_Vue Lynx
yut0naga1_fa
2
1.9k
Vueのバリデーション、結局どれを選べばいい? ― 自作バリデーションの限界と、脱却までの道のり ― / Which Vue Validation Library Should We Really Use? The Limits of Self-Made Validation and How I Finally Moved On
neginasu
3
1.7k
Using Types to Save Your Code's Future
rollbear
0
100
CSC509 Lecture 07
javiergs
PRO
0
250
ボトムアップの生成AI活用を推進する社内AIエージェント開発
aku11i
0
1.3k
AsyncSequenceとAsyncStreamのプロポーザルを全部読む!!
s_shimotori
1
160
Module Proxyのマニアックな話 / Niche Topics in Module Proxy
kuro_kurorrr
0
200
AkarengaLT vol.38
hashimoto_kei
1
130
Researchlyの開発で参考にしたデザイン
adsholoko
0
100
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
22k
Typedesign – Prime Four
hannesfritz
42
2.8k
The Invisible Side of Design
smashingmag
302
51k
4 Signs Your Business is Dying
shpigford
186
22k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
How STYLIGHT went responsive
nonsquared
100
5.9k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Code Reviewing Like a Champion
maltzj
526
40k
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を使おう