Skip to content

Instantly share code, notes, and snippets.

@greenido
Created August 2, 2023 21:57
Show Gist options
  • Save greenido/c92241907d68a740030592b182a0f6d0 to your computer and use it in GitHub Desktop.
Save greenido/c92241907d68a740030592b182a0f6d0 to your computer and use it in GitHub Desktop.
#!/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