Command:
git --no-pager show -s --date=local --pretty=format:"- %h (%ae) %s%n"
Output:
- dcd509e ([email protected]) fix(ios): commit message
{ | |
"type": "TypeCastExpression", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 57, | |
"column": 41 | |
}, | |
"end": { | |
"line": 64, |
Command:
git --no-pager show -s --date=local --pretty=format:"- %h (%ae) %s%n"
Output:
- dcd509e ([email protected]) fix(ios): commit message
const fs = require('fs'); | |
const { exec } = require('child_process'); | |
function execute(command, callback) { | |
exec(command, function (error, stdout, stderr) { | |
if (stderr || error) { | |
// console.log(`๐๐๐๐๐๐๐๐ ${stderr} ${error}`); | |
} else { | |
callback(stdout); | |
} |
// JS | |
BatchedBridge.registerCallableModule('JavaScriptVisibleToJava', { | |
alert: () => { | |
console.log('JavaScriptVisibleToJava'); | |
}, | |
}); | |
//iOS | |
[self.bridge enqueueJSCall:@"JavaScriptVisibleToJava" method:@"alert" args:@[] completion:NULL]; |
# SOURCE: https://github.com/facebook/hermes/blob/main/.github/workflows/build.yml#L544 | |
# in the terminal, run the below command | |
emulator -avd AVD_NAME -timezone Europe/Paris -no-snapshot-save -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | |
#in the different terminal | |
rm -rf build build_android staging | |
export HERMES_WS_DIR=/Users/nick/xxxx/xxx | |
cd $HERMES_WS_DIR |