Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$PROJECT_HASH not expanded on Linux #2170

Closed
richard-scott opened this issue Feb 26, 2019 · 1 comment
Closed

$PROJECT_HASH not expanded on Linux #2170

richard-scott opened this issue Feb 26, 2019 · 1 comment
Labels
Milestone

Comments

@richard-scott
Copy link

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

@ivankravets ivankravets added this to the 3.6.5 milestone Mar 4, 2019
@ivankravets ivankravets added the bug label Mar 7, 2019
ivankravets added a commit that referenced this issue Mar 7, 2019
… other directory ``***_dir`` options in "platformio.ini" // Resolve #2170
@ivankravets
Copy link
Member

Thanks for the report! Is fixed in the latest development version and be released with upcoming PlatformIO Core 3.6.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants