Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
scripts/build: log detected electron version
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Feb 23, 2017
1 parent ae93976 commit 55fac98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build
Expand Up @@ -5,9 +5,10 @@ usage () {
}

rebuild () {
printf '[scripts/build] rebuilding native deps \n'
electron_version="$(electron --version | sed s/v//)"
electron_abi="$(electron --abi)"
printf '[scripts/build] rebuilding native deps\n'
printf '[scripts/build] detected electron=%s abi=%s\n' "$electron_version" "$electron_abi"
npm rebuild \
--runtime=electron \
--target="$electron_version" \
Expand Down

0 comments on commit 55fac98

Please sign in to comment.