Created
May 12, 2021 10:08
-
-
Save loicnestler/d623399e3854f0f12dc94720d6900dd2 to your computer and use it in GitHub Desktop.
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 zx | |
await $`cat package.json | grep name` | |
let branch = await $`git branch --show-current` | |
await $`dep deploy --branch=${branch}` | |
await Promise.all([ | |
$`sleep 1; echo 1`, | |
$`sleep 2; echo 2`, | |
$`sleep 3; echo 3`, | |
]) | |
let name = 'foo bar' | |
await $`mkdir /tmp/${name}` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment