summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-18 14:39:06 +0000
committerdavidovski <david@davidovski.xyz>2022-01-18 14:39:06 +0000
commit13f70a29238f059aa1c1abbece7dd78513bffc60 (patch)
tree29be33f7dceaaf85cb5599343af5218bf02deda9
parent7c7daae09c437eeb6d340f7698cbb530dee3291f (diff)
made it skip the skip repo
-rwxr-xr-xbuild-repo.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/build-repo.sh b/build-repo.sh
index eb8fc62..3c2ab6e 100755
--- a/build-repo.sh
+++ b/build-repo.sh
@@ -15,13 +15,16 @@ build () {
echo-head "repo" >> $REPOS_INDEX
echo "<h1>repo</h1>" >> $REPOS_INDEX
- for REPO in $(du -h buildfiles/repo/* | awk '{print $2}' | sort -r ); do
+ for REPO in $(du -h buildfiles/repo/* | awk '{print $2}' | sort -r | grep -i skip); do
REPO_NAME=$(echo $REPO | cut -d"/" -f2-)
REPO_DIR=$(realpath dist/$REPO_NAME)
REPO_INDEX=$REPO_DIR/index.html
REPO_LIST_OLD=$REPO_DIR/packages.txt
REPO_LIST=$REPO_DIR/packages.list
+
+ echo "<a href='/$REPO_NAME'><h2>$REPO_NAME</h2><a> " >> $REPOS_INDEX
+
mkdir -pv $REPO_DIR
mkdir -pv $REPO_DIR/logs
#mkdir -pv dist/$REPO_NAME/src
@@ -47,8 +50,6 @@ build () {
generate-package-list
add-additional
- echo "<a href='/$REPO_NAME'><h2>$REPO_NAME</h2><a> " >> $REPOS_INDEX
-
echo "<p>package count: <strong>$(ls dist/$REPO_NAME/*.xipkg | wc -l)</strong></p>" >> $REPOS_INDEX
done;