Skip to content

Instantly share code, notes, and snippets.

@acro5piano
Created August 3, 2023 06:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acro5piano/ff3d5789aa839e74ff4dc39ddacb6a27 to your computer and use it in GitHub Desktop.
Save acro5piano/ff3d5789aa839e74ff4dc39ddacb6a27 to your computer and use it in GitHub Desktop.
Makefile cd to child directories and execute commands
build/plugins: ./packages/plugins/*
fnm use v16
for dir in $^ ; do \
bash -c "cd $${dir} && yarn && yarn build" ; \
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment