Skip to content

Instantly share code, notes, and snippets.

@kumarbhushan
kumarbhushan / lottie-react-native+3.5.0.patch
Created July 26, 2021 10:01 — forked from mrousavy/lottie-react-native+3.5.0.patch
A patch for lottie-react-native so it successfully builds with React Native 0.64
diff --git a/node_modules/lottie-react-native/lottie-react-native.podspec b/node_modules/lottie-react-native/lottie-react-native.podspec
index 006d118..63caf4a 100644
--- a/node_modules/lottie-react-native/lottie-react-native.podspec
+++ b/node_modules/lottie-react-native/lottie-react-native.podspec
@@ -14,7 +14,11 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/react-community/lottie-react-native.git", :tag => "v#{s.version}" }
s.source_files = "src/ios/**/*.{h,m,swift}"
- s.swift_version = "5.0"
- s.dependency 'React'
@kumarbhushan
kumarbhushan / lesstocss.sh
Last active April 11, 2019 00:54 — forked from abhihebbar/lesstocss.sh
Compile all LESS files to CSS in a directory (Recursive).
//for Linus
#!/bin/bash
for lessfile in $(find -name "*.less"); do
cssfile=$(echo $lessfile | sed 's/\.less$/.css/i')
echo "Comiling $lessfile to $cssfile";
rm -f $cssfile;
lessc $lessfile > $cssfile;
done;
//for macOS