Skip to content

Commit

Permalink
Removes all notion of exporting as npm module.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariano Gappa committed May 19, 2019
1 parent ce661d9 commit 079cc28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ enablePlugins(PackPlugin)

val akkaVersion = "10.0.4"


lazy val root = project.in(file(".")).
aggregate(js, jvm).
settings(
Expand Down
16 changes: 1 addition & 15 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,15 @@ cd -

echo
echo "Update & push to ostinato-example repo"
echo "TODO use npm in this repo, so this step is unnecessary"

cd "$WORKSPACE"/ostinato-example
cp "$WORKSPACE"/ostinato/js/target/scala-2.12/ostinato-opt.js ostinato.js
git pull --rebase
git pull --rebase
cp "$WORKSPACE"/ostinato/js/target/scala-2.12/ostinato-opt.js ostinato.js
git commit -am "Updates library."
git push

cd -

echo
echo "Updates JS npm package repo"

cd "$WORKSPACE"/ostinatojs
cp "$WORKSPACE"/ostinato/js/target/scala-2.12/ostinato-opt.js ostinato.js
jq '.version=env.VERSION' package.json > package.json.tmp && mv package.json.tmp package.json
git pull --rebase
git pull --rebase
git commit -am "Updates library."
git push

echo
echo "Done!"

cd -

0 comments on commit 079cc28

Please sign in to comment.