Created
October 3, 2019 20:27
-
-
Save ilya-shknaj/70c92f72cd40bcf26a59340707c7d5e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
MODULE_NAME="app" | |
set -e | |
ASSEMBLE_TASK_NAME=$(xmllint --xpath "string(//option[@name='ASSEMBLE_TASK_NAME']/@value)" ${MODULE_NAME}/${MODULE_NAME}.iml) | |
echo -e "Build flavor: ${ASSEMBLE_TASK_NAME}" | |
echo -e "Gradlew command: :${MODULE_NAME}:${ASSEMBLE_TASK_NAME}" | |
./gradlew :${MODULE_NAME}:${ASSEMBLE_TASK_NAME} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment