mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-04 07:24:20 +01:00
12 lines
270 B
Python
12 lines
270 B
Python
#!/bin/python
|
|
|
|
import subprocess
|
|
import socket
|
|
from SCons.Script import DefaultEnvironment
|
|
env = DefaultEnvironment()
|
|
|
|
def before_build_spiffs(source, target, env):
|
|
env.Execute("gulp")
|
|
|
|
env.AddPreAction(".pioenvs/%s/spiffs.bin" % env['PIOENV'], before_build_spiffs)
|