forked from platformio/platformio-core
Added support for "shared_dir"
This commit is contained in:
1 parent
33d16bfcf0
commit
5011e47709
4 files changed
+12
-1
No files matched your search
@@ -157,6 +157,11 @@ def get_project_data_dir():
|
||||
"data"))
|
||||
|
||||
|
||||
def get_project_shared_dir():
|
||||
return get_project_optional_dir("shared_dir",
|
||||
join(get_project_dir(), "shared"))
|
||||
|
||||
|
||||
def calculate_project_hash():
|
||||
check_suffixes = (".c", ".cc", ".cpp", ".h", ".hpp", ".s", ".S")
|
||||
chunks = [__version__]
|
||||
|
||||
@@ -81,6 +81,8 @@ ProjectOptions = OrderedDict([
|
||||
sysenvvar="PLATFORMIO_BOARDS_DIR"),
|
||||
ConfigPlatformioOption(name="data_dir",
|
||||
sysenvvar="PLATFORMIO_DATA_DIR"),
|
||||
ConfigPlatformioOption(name="shared_dir",
|
||||
sysenvvar="PLATFORMIO_SHARED_DIR"),
|
||||
|
||||
#
|
||||
# [env]
|
||||
|
||||
Reference in new issue
Block a user