Skip to content

Commit

Permalink
Temporary fix for RocketChat/Rocket.Chat#6444
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego authored Jun 27, 2017
1 parent 24e268e commit a383919
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,13 @@ if [ -e "$APP_SOURCE_DIR"/package.json ]; then
$METEOR_NPM install --production
fi

# Temporary fix for https://github.com/RocketChat/Rocket.Chat/issues/6444
# Try to add an existing package and let it fail, but the build command will work ¯\_(ツ)_/¯
# Allow non-zero return since we know it will fail
set +e
METEOR add rocketchat:lib
set -e

# Related to https://github.com/meteor/meteor/issues/2796 and
# https://github.com/meteor/meteor/issues/2606. Some packages only build their
# assets at runtime, and thus they are not available for bundling unless meteor
Expand Down

1 comment on commit a383919

@geekgonecrazy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wuuuuuuuuuuuut? That's nuts... 😂

Please sign in to comment.