Skip to content

Commit

Permalink
Fix Makefile to work with CARGO_TARGET_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
bcmyers authored and autozimu committed Oct 31, 2019
1 parent 8d23c90 commit 039bf7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ vint:

release:
cargo build --release
cp -f target/release/languageclient bin/
[ -z "${CARGO_TARGET_DIR}" ] && \
cp -f target/release/languageclient bin/ || \
cp -f ${CARGO_TARGET_DIR}/release/languageclient bin/
chmod a+x bin/languageclient

bump-version:
Expand Down

0 comments on commit 039bf7c

Please sign in to comment.