forked from a/repotool
noot
This commit is contained in:
parent
2252de5fc4
commit
2e8dafded7
2
Makefile
2
Makefile
@ -9,7 +9,7 @@ all: dist/repotool
|
||||
|
||||
install: dist/repotool repotool.zsh repotool.plugin.zsh
|
||||
mkdir -p ${REPOTOOL_PATH}/.bin/
|
||||
install repotool repotool.zsh repotool.plugin.zsh ${REPOTOOL_PATH}/.bin/
|
||||
install dist/repotool repotool.zsh repotool.plugin.zsh ${REPOTOOL_PATH}/.bin/
|
||||
|
||||
src/lib/repotool/stdlib.sh: $(SOURCES_LIBS)
|
||||
bashly add --source . stdlib -f
|
||||
|
||||
@ -43,4 +43,9 @@ case "$1" in
|
||||
usage:
|
||||
repo get <repo-name>
|
||||
EOF
|
||||
;;
|
||||
"open")
|
||||
raw_url=$(git ls-remote --get-url | cut -d '@' -f2 | sed 's/:/\//1')
|
||||
xdg-open "https://${raw_url}"
|
||||
;;
|
||||
esac
|
||||
|
||||
Loading…
Reference in New Issue
Block a user