Fix Atom build by installing local atom-commons

This commit is contained in:
BoykoAlex
2017-11-24 13:00:19 -05:00
parent 1c87a3878c
commit c80cbe1751

View File

@@ -15,7 +15,7 @@ fatjar_version=`cat fatjar/version`
cd $atom_package
# npm install ${atom_commons}
npm install ${atom_commons}
cat > properties.json << EOF
{
@@ -25,10 +25,6 @@ EOF
npm install
cd $atom_package/node_modules/pivotal-atom-languageclient-commons
ls
cd $atom_package
# push code to release repository
cd $workdir
@@ -49,8 +45,12 @@ git config user.name "Alex Boyko"
git add .
git_changes=git diff --cached --exit-code
if [$git_changes != 0]
then
git commit \
-m "Publish ${fatjar_version}"
fi
# Publish linkable artifact to S3
@@ -59,10 +59,6 @@ npm install bundle-deps
node ./node_modules/bundle-deps/bundle-deps .
cd $atom_package/node_modules/pivotal-atom-languageclient-commons
ls
cd $atom_package
basename=$(npm pack | tee /dev/tty)
timestamp=`date -u +%Y%m%d%H%M`