2019-01-30 18:13:23 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2019-04-19 19:11:43 +00:00
|
|
|
# We recommend you run this as a pre-push hook: to reduce
|
|
|
|
# review turn-around time, we want all pushes to run tasks
|
|
|
|
# locally. Using this hook will guarantee your hook gets
|
|
|
|
# updated as the repository changes.
|
|
|
|
#
|
|
|
|
# This hook tries to run as much as possible without taking
|
|
|
|
# too long.
|
|
|
|
#
|
|
|
|
# You can use it by running this command from the project root:
|
|
|
|
# `ln -s ../../tools/pre-push-recommended.sh .git/hooks/pre-push`
|
|
|
|
|
|
|
|
# Descriptions for each gradle task below can be found in the
|
|
|
|
# output of `./gradlew tasks`.
|
|
|
|
|
2019-01-30 18:13:23 +00:00
|
|
|
./gradlew -q \
|
|
|
|
ktlint \
|
|
|
|
detekt \
|
2019-04-22 18:02:39 +00:00
|
|
|
app:assembleX86Debug
|