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

creation of src/ and lib/ dirs when src_dir and lib_dir are changed #536

Closed
glelouet opened this Issue Feb 25, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@glelouet

glelouet commented Feb 25, 2016

My platformio.ini contains

[platformio]
src_dir = ./
lib_dir = ../lib

then when I init (because I want to modify the sources with eclipse), platformio asks me if I want to create the src/ and lib/ dirs. Which I don't but answering no prevents it from creating the eclipse .project.

two options IMO :

  • create the lib_dir and src_dir instead of lib/ and src/
  • add a --no-create option to not check the presence of the dirs
@glelouet

This comment has been minimized.

glelouet commented Feb 25, 2016

PlatformIO, version 2.8.4

@ivankravets ivankravets modified the milestone: 2.8.5 Feb 25, 2016

@ivankravets ivankravets self-assigned this Feb 25, 2016

@ivankravets

This comment has been minimized.

Member

ivankravets commented Mar 7, 2016

I don't handle lib_dir because it has other meaning in PlatformIO 2.0.

I hope that we will add --srd-dir and --lib-dir options to pio init command in PlatformIO 3.0.

ivankravets added a commit that referenced this issue Mar 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment