1
1
mirror of https://github.com/primer/css.git synced 2024-12-26 07:35:04 +03:00
css/script/prepublish
2021-04-11 20:39:17 -07:00

12 lines
200 B
Bash
Executable File

#!/bin/bash
set -e
# generate the build directory
yarn dist
files=$(git ls-files src | sed -e 's#^src/##' | sed -e 's#/.*$##' | sort -u)
echo $files > publish-files.log
cd src
cp -rv $files ..
cd -