Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Update: dotfilesのブランチを指定できるようにしておく
Browse files Browse the repository at this point in the history
  • Loading branch information
yasunori0418 committed Oct 1, 2023
1 parent 8bc0f70 commit 09469ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DEFAULT_GOAL := help
dotfiles_branch = reduce_depend

.PHONY := help
# INFO: 参考サイト - https://postd.cc/auto-documented-makefile/
Expand All @@ -22,7 +23,7 @@ init: ## Initialize my favorite environment container.
@docker compose build --no-cache
@docker compose up -d
@sleep 5
@docker compose exec did git clone https://github.com/yasunori0418/dotfiles.git
@docker compose exec did git clone -b $(dotfiles_branch) https://github.com/yasunori0418/dotfiles.git
@sleep 8
@docker compose exec -w /root/dotfiles did make init
@sleep 3
Expand Down

0 comments on commit 09469ba

Please sign in to comment.