如果要制作下一个东西,我想引入一种工具
综述
我希望将以下工具作为备忘录保存以在下一个项目中引入。
制造
概要
オレオレコマンドを定義できる
git add. -> git commit などを一発で実行したいときに便利
使い方
Makefileを定義する (サンプルはterraformの場合)
Makefileと同じ階層でコマンドを実行する
示例的Makefile文件
install:
        asdf install
        tflint --init
lint:
        teraform fmt -recursive && \
        terraform validate && \
        tflint
init:
        terraform init
plan:
        terraform validate && \
        terraform plan
apply:
        terraform validate && \
        terraform apply        
可以使用以下内容
make init
make plan
make apply
- 
- 参考
 
 
- https://www.miraclelinux.com/tech-blog/0icygs
 
啊斯蒂芬
- 
- 概要
 
 
- 
- 必要なツールをコマンド一発でインストールできる
 
 
- 
- 使い方
 
 
インストール
.tool-versionsを定義
.tool-versionsと同じ階層でasdf install 実行
.tool-versionsサンプル
nodejs 16.15.0
terraform 1.3.7
tflint 0.44.1
tfsec 1.28.1
运行命令:npx git-cz
- 
- 概要
 
 
- 
- commit時にprefixを強制する
 
 
- 
- commitが追いやすくなるため、個人的にはprefixをつけたい派
 
 
- 
- prefix適用漏れなどを防げる
 
 
- 
- デフォルトからのカスタマイズも可能
 
 
- 
- 参考
 
 
- https://rightcode.co.jp/blog/information-technology/git-cz-commit-message-format-unification-syain