mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
10 lines
194 B
Python
10 lines
194 B
Python
#
|
|
# random-bin.py
|
|
# Set a unique firmware name based on current date and time
|
|
#
|
|
Import("env")
|
|
|
|
from datetime import datetime
|
|
|
|
env['PROGNAME'] = datetime.now().strftime("firmware-%Y%m%d-%H%M%S")
|