mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 18:44:27 +02:00
Use "UNIX_TIME" as the main variable
This commit is contained in:
@@ -72,8 +72,7 @@ DEFAULT_ENV_OPTIONS = dict(
|
|||||||
variables=clivars,
|
variables=clivars,
|
||||||
# Propagating External Environment
|
# Propagating External Environment
|
||||||
ENV=os.environ,
|
ENV=os.environ,
|
||||||
TIMESTAMP=int(time()),
|
UNIX_TIME=int(time()),
|
||||||
UNIX_TIME="$TIMESTAMP", # deprecated
|
|
||||||
BUILD_DIR=os.path.join("$PROJECT_BUILD_DIR", "$PIOENV"),
|
BUILD_DIR=os.path.join("$PROJECT_BUILD_DIR", "$PIOENV"),
|
||||||
BUILD_SRC_DIR=os.path.join("$BUILD_DIR", "src"),
|
BUILD_SRC_DIR=os.path.join("$BUILD_DIR", "src"),
|
||||||
BUILD_TEST_DIR=os.path.join("$BUILD_DIR", "test"),
|
BUILD_TEST_DIR=os.path.join("$BUILD_DIR", "test"),
|
||||||
|
Reference in New Issue
Block a user