mirror of
https://github.com/primer/css.git
synced 2024-11-30 01:04:04 +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 -
|