mirror of
https://github.com/primer/css.git
synced 2024-12-01 20:53:06 +03:00
12 lines
212 B
Bash
Executable File
12 lines
212 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# generate the build directory
|
|
npm run --silent 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 -
|