Cleanup helper scripts. Closes #7

This commit is contained in:
osiu97
2026-07-08 20:35:59 +02:00
parent 75ce38daf7
commit 1a94ca3947
11 changed files with 3 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
const fs = require('fs');
const { execSync } = require('child_process');
try {
const output = execSync('git log -p -3 src/main.cpp', { cwd: 'm:/Nextcloud/IoT/esp32s3-wiji' });
fs.writeFileSync('m:/Nextcloud/IoT/esp32s3-wiji/git_history.txt', output);
console.log('Success');
} catch (e) {
console.log('Error', e.message);
}