mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-14 01:16:37 +02:00
* 0.7.36 release
This commit is contained in:
parent
cd4301b3ca
commit
c70282c786
3 changed files with 17 additions and 54 deletions
|
@ -3,6 +3,9 @@ import subprocess
|
|||
Import("env")
|
||||
|
||||
def applyPatch(libName, patchFile):
|
||||
if os.path.exists('.pio/libdeps/' + env['PIOENV'] + '/' + libName) == False:
|
||||
return
|
||||
|
||||
os.chdir('.pio/libdeps/' + env['PIOENV'] + '/' + libName)
|
||||
|
||||
process = subprocess.run(['git', 'apply', '--reverse', '--check', '../../../../' + patchFile], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue