mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
add remotes tool
This commit is contained in:
9
makefile
9
makefile
@@ -88,7 +88,12 @@ clean:
|
|||||||
@rm -rf $(BIND) $(OBJD) valgrind.log
|
@rm -rf $(BIND) $(OBJD) valgrind.log
|
||||||
@(cd $(SUBD)/termbox_next && $(MAKE) clean)
|
@(cd $(SUBD)/termbox_next && $(MAKE) clean)
|
||||||
|
|
||||||
github:
|
remotes:
|
||||||
|
@echo "registering remotes"
|
||||||
|
@git remote add github git@github.com:cylgom/$(NAME).git
|
||||||
|
@git remote add gitea ssh://git@git.cylgom.net:2999/cylgom/$(NAME).git
|
||||||
|
|
||||||
|
github: remotes
|
||||||
@echo "sourcing submodules from https://github.com"
|
@echo "sourcing submodules from https://github.com"
|
||||||
@cp .github .gitmodules
|
@cp .github .gitmodules
|
||||||
@git submodule sync
|
@git submodule sync
|
||||||
@@ -96,7 +101,7 @@ github:
|
|||||||
@cd $(SUBD)/argoat && make github
|
@cd $(SUBD)/argoat && make github
|
||||||
@git submodule update --init --recursive --remote
|
@git submodule update --init --recursive --remote
|
||||||
|
|
||||||
gitea:
|
gitea: remotes
|
||||||
@echo "sourcing submodules from https://git.cylgom.net"
|
@echo "sourcing submodules from https://git.cylgom.net"
|
||||||
@cp .gitea .gitmodules
|
@cp .gitea .gitmodules
|
||||||
@git submodule sync
|
@git submodule sync
|
||||||
|
|||||||
Reference in New Issue
Block a user