From 09ca4974c506181b5bcf3e23187495d4f09ef5e6 Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Sat, 12 Mar 2022 09:24:52 +0900 Subject: [PATCH] don't run prepare on yarn install... --- BUILDING.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 633126f..82f4425 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -22,7 +22,7 @@ When setting up your environment, make sure to install the following dependency We also need the requirements to build ExoPlayer's ffmpeg extension for Android, which should be covered by: - build-essential (make, etc.) -More information on building ffmpeg can be found here (this is what the `prepare` script does): +More information on building ffmpeg can be found here (this is what the `prepare-build` script does): https://github.com/google/ExoPlayer/tree/r2.11.4/extensions/ffmpeg @@ -36,7 +36,7 @@ cd subtracks Install the yarn packages and prepare the ExoPlayer ffmpeg extension by running the yarn script: ```sh yarn install -yarn prepare +yarn prepare-build ``` ### Debug diff --git a/package.json b/package.json index d5cb088..b76a8ad 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "android": "react-native run-android", "android:release": "./android/gradlew -p android assembleRelease -PsignReleaseWithDebug=true && adb install -r android/app/build/outputs/apk/release/app-release.apk && adb shell am start -n com.subtracks/.MainActivity", "start": "react-native start", - "prepare": "scripts/prepare-exoplayer-ffmpeg.sh", + "prepare-build": "scripts/prepare-exoplayer-ffmpeg.sh", "test": "jest", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "license:npm": "yarn licenses generate-disclaimer --production | grep -v '^info\\s\"\\?fsevents' > android/app/src/main/assets/licenses/npm.txt",