Skip to content

Instantly share code, notes, and snippets.

@kjkta
Created June 13, 2019 14:59
Show Gist options
  • Save kjkta/6239ee0b29b6ddab1d5ee2c03f94ad25 to your computer and use it in GitHub Desktop.
Save kjkta/6239ee0b29b6ddab1d5ee2c03f94ad25 to your computer and use it in GitHub Desktop.
Bash script to copy source files into a directory and append `.flow`
cp -r src/*.js dist/;
for f in dist/*; do mv $f ./dist/`basename $f `.flow; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment