Skip to content

Instantly share code, notes, and snippets.

View JavyMB's full-sized avatar

Javi MB JavyMB

View GitHub Profile
@JavyMB
JavyMB / 00_README.md
Created April 21, 2023 21:40 — forked from LeZuse/00_README.md
Install node on Apple Silicon M1 both ARM and x86 (Rosetta)

Node.js on Apple Silicon

Node Version Manager (https://github.com/nvm-sh/nvm) works perfectly across native node installations as well as emulated Rosetta installations. The trick I am using here is to install one LTS version of node under Rosetta and another stable version as native binary.

TODO

  • find a way how to run the same node version on both platforms
@JavyMB
JavyMB / Fastfile
Created May 18, 2019 20:01
Complete all lanes
fastlane_version '2.53.1'
before_all do
ensure_git_branch
ensure_git_status_clean
git_pull
end
platform :ios do
# iOS Lanes
@JavyMB
JavyMB / Fastfile
Created May 18, 2019 19:52
Ship to Playstore Beta.
desc 'Ship to Playstore Beta.'
lane :beta do
build
supply(track: 'beta', track_promote_to: 'beta')
git_commit(path: ['./android/gradle.properties'], message: 'Bump versionCode')
push_to_git_remote
end
@JavyMB
JavyMB / Fastfile
Created May 18, 2019 19:51
Ship to testflight
desc 'Ship to Testflight.'
lane :beta do
build
pilot
commit_version_bump(message: 'Bump build', xcodeproj: './ios/name.xcodeproj')
push_to_git_remote
end
@JavyMB
JavyMB / Fastfile
Created May 18, 2019 19:41
Build the Android application.
desc 'Build the Android application.'
private_lane :build do
gradle(task: 'clean', project_dir: 'android/')
gradle(task: 'assemble', build_type: 'Release', project_dir: 'android/')
end
@JavyMB
JavyMB / Fastfile
Created May 18, 2019 19:36
Build the iOS application.
desc 'Build the iOS application.'
private_lane :build do
certificates
increment_build_number(xcodeproj: './ios/name.xcodeproj')
gym(scheme: 'name', project: './ios/name.xcodeproj')
end
fastlane_version '2.53.1'
before_all do
ensure_git_branch
ensure_git_status_clean
git_pull
end
desc 'Fetch certificates and provisioning profiles'
lane :certificates do
match(app_identifier: 'com.app.bundle', type: 'development', readonly: true)
match(app_identifier: 'com.app.bundle', type: 'appstore', readonly: true)
End
fastlane_version '2.53.1'
before_all do
ensure_git_branch
ensure_git_status_clean
git_pull
end
platform :ios do
# iOS Lanes
brew cask install fastlane;