This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# This is a basic script to launch multiple programs and kill them | |
# all at the same time. It does this by launching the first n-1 jobs as | |
# background jobs, then running the nth job as a foreground job. | |
# | |
# It traps the exist signal produced by doing `CTRL-C` on the CLI and | |
# iterates through the PIDs of the background jobs and runs kill -9 on them. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "workshop-setup", | |
"version": "1.0.0", | |
"description": "This is the common setup script for most of my workshops", | |
"bin": "./setup.js" | |
} |