Skip to content

Instantly share code, notes, and snippets.

View aldemirenes's full-sized avatar

Enes Aldemir aldemirenes

View GitHub Profile
@aldemirenes
aldemirenes / Instructions_Scaladoc.md
Last active October 26, 2020 08:49
Instructions for integrating publishing Scaladoc to CI/CD

Instructions for integrating publishing Scaladoc to CI/CD

This document is explaining what should be done in order to publish updated Scaladoc with every new version of library.

Before starting to follow these instructions, some changes need to be done in project. You can find necessary changes in this Analytics SDK commit.

Instructions:

  • Initialize gh-pages branch with docs_init.sh script. You need to change PROJECT_NAME and ORG_NAME variables according to your project.
  • To authenticate Travis CI to publish changes to the gh-pages branch you need to first generate an SSH key pair:
@aldemirenes
aldemirenes / android_build_run.sh
Last active May 4, 2023 10:27
Shell scripts for Android development without needing to use Android Studio
#!/bin/sh
package_name=$1
./gradlew assembleDebug
adb -d install -r app/build/outputs/apk/app-debug.apk
adb shell monkey -p "$package_name" -c android.intent.category.LAUNCHER 1
./logcat.sh "$package_name"