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
name: "Select Xcode" | |
description: "Selects the version of xcode specified in this action" | |
runs: | |
using: "composite" | |
steps: | |
- name: set DEVELOPER_DIR to select Xcode | |
shell: bash | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
run: echo ::set-env name=DEVELOPER_DIR::$(/usr/bin/ruby Resources/selectXcode.rb PRINT .xcode-build) |
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
# Android | |
export PATH="$HOME/Library/Android/sdk/cmdline-tools/latest/bin:$HOME/Library/Android/sdk/platform-tools:$PATH" | |
export ANDROID_HOME=~/Library/Android/sdk | |
export JAVA_HOME=~/Applications/Android\ Studio.app/Contents/jbr/Contents/Home | |
alias aed="open -b com.google.android.studio" # Open current Folder in Android Studio: "aed ." |
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
import io.reactivex.rxjava3.core.Observable | |
import timber.log.Timber | |
fun <T : Any> Observable<T>.debug(customTag: String? = null): Observable<T> { | |
val fileTag = Exception().stackTrace[0].fileName | |
val tag = if (customTag == null) fileTag else "$fileTag - $customTag" | |
val line = Exception().stackTrace[0].lineNumber | |
return this | |
.doOnNext { item -> | |
Timber.tag(tag).d("[LINE $line] Next item: $item") |
OlderNewer