Cross Reference:
xref
: /
yui3
/
src
/
yui
/
scripts
/
npm_package.sh
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
npm_package.sh revision b7a9befffd4721509f1ac15ceba2b0e9cb8f54ba
#!/
bin
/
bash
cd
"
$(
dirname
"$0"
)
"
out
=$
1
if
[ ! -d
"
$out
"
];
then
out
=/
tmp
/
npm-yui
/
echo
"Build directory not found using default: ${out}"
fi
echo
"Using ${out} as build directory"
if
[ -d
$out
];
then
echo
"Old build dir found, removing.."
rm
-
rRf
$out
fi
echo
"Creating build dir"
mkdir
$out
echo
"Copying files to build location"
cp
-R ../../../
build
/*
$out
wait
cp
../../../
package.json
"
$out
/
package.json
"
wait
echo
"Copy complete, running prep"
./
npm_package.js
$out