Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
chore: add examples to Justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bketelsen committed Apr 11, 2023
1 parent 984cbb3 commit 3aac9c2
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ cleanup +FILES:
backup: (move "$FLEEK_MANAGED/.fleek.yml" "$FLEEK_MANAGED/.config/home-manager")

clean: (cleanup "$FLEEK_MANAGED/.fleek.yml" "$FLEEK_MANAGED/.config/home-manager" "dist")

restore: clean (unmove "$FLEEK_MANAGED/.fleek.yml" "$FLEEK_MANAGED/.config/home-manager")

default-env:
Expand Down Expand Up @@ -52,6 +51,21 @@ apply:
[ -e "./fleek" ] || just build
./fleek apply --push

examples:
[ -e "./fleek" ] || just build
rm -rf examples/none
rm -rf examples/low
rm -rf examples/default
rm -rf examples/high
mkdir -p examples/none
mkdir -p examples/low
mkdir -p examples/default
mkdir -p examples/high
./fleek generate --level none -l projects/ublue/fleek/examples/none
./fleek generate --level default -l projects/ublue/fleek/examples/default
./fleek generate --level low -l projects/ublue/fleek/examples/low
./fleek generate --level high -l projects/ublue/fleek/examples/high

completions:
[ -e "./fleek" ] || just build
mkdir -p completions
Expand Down

0 comments on commit 3aac9c2

Please sign in to comment.