Skip to content

Commit

Permalink
Update truffle-meteor-build for newer truffle.
Browse files Browse the repository at this point in the history
  • Loading branch information
rheaplex committed Dec 2, 2016
1 parent 5380f98 commit a6bda62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion truffle-meteor-build
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi
environment="${1:-development}"
base_dir="$(pwd)"

if [ ! -f "${base_dir}/truffle.json" ]
if [ ! -f "${base_dir}/truffle.js" ] && [ ! -f "${base_dir}/truffle.json" ]
then
echo "Please call from within the top level of a Truffle project."
exit 1
Expand All @@ -47,5 +47,6 @@ cp -r "${dot_meteor_dir}" "${truffle_build_dir}"
pushd "${truffle_build_dir}" > /dev/null
echo "Meteor: building client in ${meteor_build_dir}"
meteor-build-client "${meteor_build_dir}" -p ''
#meteor build "${meteor_build_dir}" --directory --debug
popd > /dev/null
popd > /dev/null

0 comments on commit a6bda62

Please sign in to comment.