Build: create tarball of atom package with dependencies

This commit is contained in:
BoykoAlex
2017-08-04 14:01:37 -04:00
parent ee88a8a734
commit a255935c55

View File

@@ -10,11 +10,27 @@ echo "The url of the fatjar is ${url}"
ls -la
cd package_sources
npm install ../sts4/atom-extensions/atom-commons
cat > properties.json << EOF
{
jarUrl: ${url}
}
EOF
cat properties.json
npm install
npm install bundle-deps
bundle-deps .
npm pack
timestamp=`date -u +%Y%m%d%H%M`
for i in `ls *.tgz`; do
basename=$(basename $i)
cp $i $output/${basename/SNAPSHOT/$timestamp}
done
ls -la $output