You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
263 B

#!/bin/sh
# Create the exported directory
mkdir -p build
# Locate services/packages and grab only the built files + package.json
for file in $(find . -regex '.\/\(services\|packages\)\/.*\/\(package.json\|node_modules\)'); do
cp --parents -R $file build;
done