Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
leomeinel committed Sep 12, 2022
1 parent abeb0af commit 78d2fb4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
19 changes: 19 additions & 0 deletions all-repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash
###
# File: all-repos.sh
# Author: Leopold Meinel ([email protected])
# -----
# Copyright (c) 2022 Leopold Meinel & contributors
# SPDX ID: GPL-3.0-or-later
# URL: https://www.gnu.org/licenses/gpl-3.0-standalone.html
# -----
###

NAME="LeoMeinel"

PAGE=1
while curl -s "https://api.github.com/users/$NAME/repos?page=$PAGE&per_page=100" | grep -q "ssh_url"; do
SSH_URLS=$(curl -s "https://api.github.com/users/$NAME/repos?page=$PAGE&per_page=100" | grep -e 'ssh_url' | cut -d \" -f 4)
xargs -L 1 git -C ~/src/ clone <<<"$SSH_URLS"
PAGE=$((PAGE + 1))
done
3 changes: 2 additions & 1 deletion gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/bin/bash
###
# File: update-gradle.sh
# File: gradle
# Author: Leopold Meinel ([email protected])
# -----
# Copyright (c) 2022 Leopold Meinel & contributors
# SPDX ID: GPL-3.0-or-later
# URL: https://www.gnu.org/licenses/gpl-3.0-standalone.html
# -----
###

case "$1" in
update-gradle)
DIRECTORIES=$(/usr/bin/find ~/src/ -type f -name 'build.gradle' -printf '%h\n' | sort -u)
Expand Down

0 comments on commit 78d2fb4

Please sign in to comment.