Commit Graph

101 Commits

Author SHA1 Message Date
Ivan Kravets
d2abac9b18 Fixed an issue when configuration file options partly ignored when `--project-conf` // Resolve #3034 (#3055)
* Fixed an issue when configuration file options partly ignored when using custom ``--project-conf`` // Resolve #3034

* Py2 compatible makedirs

* Fix circle dependency

* Fix broken import in test examples

* Fix history

* Remove YAPF markers

* PyLint fix

* Fix invalid project conf path

* Move PIO Core to the root on Windows, issue with long CPPPATHs

* Respect global PLATFORMIO_BUILD_CACHE_DIR env var

* Fix Appveyor paths

* Minor changes
2019-09-27 14:13:53 +03:00
Ivan Kravets
7c41c7c2f3 Introduce Black to automate code formatting 2019-09-23 23:13:48 +03:00
Ivan Kravets
cba2f4d7b6 Remove ProjectConfig cache when "platformio.ini" was modified outside 2019-08-25 18:37:14 +03:00
Ivan Kravets
1dc15326c9 Export ProjectConfig instance to templates generator // Issue #2824 2019-08-18 11:06:52 +03:00
Ivan Kravets
6a90388649 Move FS related helpers to fs.py module 2019-08-12 19:44:37 +03:00
Ivan Kravets
d09964a897 Use common IDE data loading for IDE and DEBUG 2019-06-03 19:20:10 +03:00
Ivan Kravets
61db0f1d6a YAPF 0.27.0 2019-05-30 23:42:15 +03:00
Ivan Kravets
3cc4af1723 Refactor project config options 2019-05-30 16:38:04 +03:00
Ivan Kravets
4266cba53b Cleanup ".piolibdeps" 2019-05-25 01:10:35 +03:00
Ivan Kravets
19725fec04 Add options to override default locations used by PlatformIO Core // Resolve #1615 2019-05-24 20:49:05 +03:00
Ivan Kravets
5fe4de626b Implement unified project workspace storage ".pio" // Resolve #1778 2019-05-20 17:01:54 +03:00
Ivan Kravets
07a2a49d93 Refactor project helpers 2019-05-07 22:13:21 +03:00
Ivan Kravets
6cd4484be9 Init new project using new ProjectConfig API 2019-05-07 19:57:24 +03:00
Ivan Kravets
c235974eb6 Switch to the new ProjectConfig API 2019-05-07 17:51:50 +03:00
Ivan Kravets
3d96e584fb Fix an issue when invalid "env_default" results into unhandled errors // Resolve #2265 2019-04-18 14:17:22 +03:00
Ivan Kravets
692af90161 Fix incorrect wording when initializing/updating project 2018-10-30 00:14:06 +02:00
Ivan Kravets
8b74b12990 Don't recreate git ignore and travis configs when project is already inited 2018-10-29 14:02:29 +02:00
Ivan Kravets
2007491be9 Don't override existing ".gitignore" file 2018-10-27 14:20:33 +03:00
Ivan Kravets
9c30472777 Generate "test" directory per project 2018-10-17 21:16:09 +03:00
Ivan Kravets
016caa731d Rename "readme.txt" to README for "include" and "lib" project folder; don't create these folders if they were delated before 2018-10-17 19:58:38 +03:00
Ivan Kravets
d4e553fb5a Generate an "include" directory with a README file when initializing a new project 2018-10-12 21:49:02 +03:00
Ivan Kravets
22ceae0149 * Do not re-create ".gitignore" and ".travis.yml" files if they were removed from a project 2018-09-20 14:57:42 +03:00
David Hasenfratz
6caa7f30ac Fix typos (#1819) 2018-08-30 20:22:36 +03:00
Ivan Kravets
d448a0ec5c Switch docs to HTTPS 2018-08-15 19:44:02 +03:00
Ivan Kravets
3bcc3e07ae Respect a custom "lib_dir" option in platformio.ini // Resolve #1473 2018-04-25 17:15:40 +03:00
Ivan Kravets
6a04f52620 Add info about "library.json" to README instruction 2018-04-15 06:28:02 +03:00
Ivan Kravets
1cb1af3375 Revert back caching for Travis.CI 2018-02-20 14:29:20 +02:00
Ivan Kravets
0394e43ba4 Remove caching from TravisCI template 2017-12-12 21:35:48 +02:00
Ivan Kravets
7827994791 Do not ask for board ID when initialize project for desktop platform 2017-06-28 01:38:20 +03:00
Ivan Kravets
4d1a135d76 Apply YAPF 2017-06-05 16:05:05 +03:00
Ivan Kravets
45e75f7473 Copyright (c) 2014-present PlatformIO <contact@platformio.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2017-06-05 16:02:39 +03:00
Ivan Kravets
1e5df747cd Handle `env_default` in "platformio.ini" when re-initializing a project // Resolve #950 2017-04-28 18:10:37 +03:00
Ivan Kravets
fe1846c2e1 YAPF formatting 2017-03-02 17:09:22 +02:00
Ivan Kravets
ee086ff580 Produce less noisy output when “-s/—silent” options are used for run and init commands // Resolve #850 2016-12-08 14:15:13 +02:00
Ivan Kravets
b26442d1fe Don’t touch VCS file if it isn’t modified // Issue #848 2016-12-07 00:58:22 +02:00
Ivan Kravets
2a5d686d5a Use unified link to docs pages 2016-12-05 21:25:10 +02:00
Ivan Kravets
a251470ebd Python style formatting 2016-10-31 20:05:34 +02:00
Ivan Kravets
7116deaf54 Allow to initialize project in off-line mode 2016-09-14 14:46:10 +03:00
Ivan Kravets
d2a45245e2 Fix linter warnings 2016-09-13 20:39:04 +03:00
Ivan Kravets
05bbd4a7f8 Improve Project Generator when custom `--project-option is passed to platformio init` command 2016-09-13 19:22:19 +03:00
Ivan Kravets
838063b1b7 Allow passing custom project configuration options to `platformio ci and platformio init commands using -O, --project-option`. 2016-09-01 15:14:38 +03:00
Ivan Kravets
22bb1c39b1 Handle EOL when update VCS ignore file 2016-08-29 13:35:35 +03:00
Ivan Kravets
c637729eae Rename `platformio serialports command to platformio device` 2016-08-26 14:25:50 +03:00
Ivan Kravets
473c821132 Cover init command with tests 2016-08-10 21:58:12 +03:00
Ivan Kravets
a395b171e3 Add Support for local ("PC") unit tests // Resolve #519 2016-08-10 15:50:01 +03:00
Ivan Kravets
0264c4eeea Remove debug code 2016-08-09 17:12:30 +03:00
Ivan Kravets
55c1a90fc9 Remove unused import 2016-08-09 15:24:56 +03:00
Ivan Kravets
5ba20fc6ed Remove prompts from init command; Update template for Project Configuration File 2016-08-09 15:10:52 +03:00
Ivan Kravets
20e7525118 Update links to Library Dependency Finder 2016-08-08 19:44:31 +03:00
Ivan Kravets
87d0ead203 Format code with pep8 style 2016-08-03 23:38:20 +03:00