diff --git a/blueprints/tailwind b/blueprints/tailwind index 9496be0..d5ba59c 160000 --- a/blueprints/tailwind +++ b/blueprints/tailwind @@ -1 +1 @@ -Subproject commit 9496be0ed6c53616ea0b2e8239ba7dfcebf54b53 +Subproject commit d5ba59c5e3998aef7ffb562dfb6c1a3b58e90f19 diff --git a/justfile b/justfile index a070467..d218773 100644 --- a/justfile +++ b/justfile @@ -82,41 +82,48 @@ tree: generate-demo submodule-init: git submodule update --init --recursive -# Checkout all blueprints on main +# Checkout all submodules on main checkout: #!/usr/bin/env sh - for dir in blueprints/*; do - if [ -d "$dir" ]; then - echo "$(basename $dir)" - cd "$dir" - git checkout main - cd - - fi + for parent_dir in blueprints packages; do + for dir in $parent_dir/*; do + if [ -d "$dir" ]; then + echo "$(basename $dir)" + cd "$dir" + git checkout main + cd - + fi + done done -# Run git pull in all blueprints +# Run git pull in all submodules pull: #!/usr/bin/env sh git pull - for dir in blueprints/*; do - if [ -d "$dir" ]; then - echo "$(basename $dir)" - cd "$dir" - git pull - cd - - fi + for parent_dir in blueprints packages; do + for dir in $parent_dir/*; do + if [ -d "$dir" ]; then + echo "$(basename $dir)" + cd "$dir" + git pull + cd - + fi + done done -# Run git fetch in all blueprints +# Run git fetch in all submodules fetch: #!/usr/bin/env sh - for dir in blueprints/*; do - if [ -d "$dir" ]; then - echo "$(basename $dir)" - cd "$dir" - git fetch --all - cd - - fi + git fetch --all + for parent_dir in blueprints packages; do + for dir in $parent_dir/*; do + if [ -d "$dir" ]; then + echo "$(basename $dir)" + cd "$dir" + git fetch --all + cd - + fi + done done # Set the upstream remote for alternative blueprints