Skip to content

Instantly share code, notes, and snippets.

@sayrer
sayrer / WORKSPACE
Created May 19, 2018 17:48
React Native Android in Bazel
# React Native Android
maven_aar(
name = "com_facebook_react_native",
artifact = "com.facebook.react:react-native:0.55.4",
settings = "//build:settings.xml",
deps = [
"@androidsdk//com.android.support:appcompat-v7-25.0.0",
"@com_facebook_fbui_textlayoutbuilder//aar",
"@com_facebook_fresco_fresco//aar",
@myusuf3
myusuf3 / delete_git_submodule.md
Created November 3, 2014 17:36
How effectively delete a git submodule.

To remove a submodule you need to:

  • Delete the relevant section from the .gitmodules file.
  • Stage the .gitmodules changes git add .gitmodules
  • Delete the relevant section from .git/config.
  • Run git rm --cached path_to_submodule (no trailing slash).
  • Run rm -rf .git/modules/path_to_submodule (no trailing slash).
  • Commit git commit -m "Removed submodule "
  • Delete the now untracked submodule files rm -rf path_to_submodule
ACTION
AD_HOC_CODE_SIGNING_ALLOWED
ALTERNATE_GROUP
ALTERNATE_MODE
ALTERNATE_OWNER
ALWAYS_SEARCH_USER_PATHS
ALWAYS_USE_SEPARATE_HEADERMAPS
APPLE_INTERNAL_DEVELOPER_DIR
APPLE_INTERNAL_DIR
APPLE_INTERNAL_DOCUMENTATION_DIR