Skip to content

$PROJECT_HASH not expanded on Linux #2170

@richard-scott

Description

@richard-scott

I've got VS Code Insiders edition installed today (26th Feb), details are:

Version: 1.32.0-insider (system setup)
Commit: 7d0c9e6fa0bedcf71bdae86c02611b65362795a3
Date: 2019-02-26T06:19:00.351Z
Electron: 3.1.3
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134

I'm trying to use $PROJECT_HASH in my Projects platformio.ini file as follows:

[platformio]
build_dir = ${sysenv.TEMP}/pio-build/$PROJECT_HASH/build
libdeps_dir = ${sysenv.TEMP}/pio-build/$PROJECT_HASH/libdeps

[env:uno]
platform = atmelavr
board = uno
framework = arduino
monitor_speed = 115200
lib_deps =
  I2Cdevlib-ADS1115
  U8g2

On boht Linux and Windows 10 I get an incorrect directory created for 'libdeps_dir' by the Library Manager as it installs my projects dependencies:

├── d9e1205e22
│   └── build
│       ├── do-not-modify-files-here.url
│       └── structure.hash
└── $PROJECT_HASH
    └── libdeps
        ├── I2Cdevlib-ADS1115_ID95

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions