From 1a289fabc211ea87726d8d13ed4639fcd39af387 Mon Sep 17 00:00:00 2001 From: gitolicious Date: Mon, 15 Apr 2019 00:09:36 +0200 Subject: [PATCH 1/5] Create .gitpod.yml Configuration to install PlatformIO and run the first build on workspace startup --- .gitpod.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 000000000..6d233420a --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,3 @@ +tasks: +- before: pip install -U platformio +- command: platformio run From 0af511a9ffc2217d471c2337db089a454e0a37fb Mon Sep 17 00:00:00 2001 From: gitolicious Date: Mon, 15 Apr 2019 00:48:07 +0200 Subject: [PATCH 2/5] indentation --- .gitpod.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 6d233420a..4428abd79 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,3 +1,3 @@ tasks: -- before: pip install -U platformio -- command: platformio run + - before: pip install -U platformio + - command: platformio run From 9fbb44de228bdabe3fca494ec3f2dffd3929df3b Mon Sep 17 00:00:00 2001 From: gitolicious Date: Mon, 15 Apr 2019 00:53:38 +0200 Subject: [PATCH 3/5] Replace before with init --- .gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 4428abd79..7aabfbf60 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,3 +1,3 @@ tasks: - - before: pip install -U platformio + - init: pip install -U platformio - command: platformio run From 9c86de29560d7bad567c7ea37335d7581b9e36fc Mon Sep 17 00:00:00 2001 From: gitolicious Date: Mon, 15 Apr 2019 00:58:40 +0200 Subject: [PATCH 4/5] Fixed yaml array --- .gitpod.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 7aabfbf60..417113a1a 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,3 +1,3 @@ tasks: - - init: pip install -U platformio - - command: platformio run + - before: pip install -U platformio + command: platformio run From a5d02be4fd801a0ba062230d98f8d2f4c112d810 Mon Sep 17 00:00:00 2001 From: gitolicious Date: Mon, 15 Apr 2019 01:14:13 +0200 Subject: [PATCH 5/5] only build sonoff on startup --- .gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 417113a1a..38e7d7bfa 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,3 +1,3 @@ tasks: - before: pip install -U platformio - command: platformio run + command: platformio run -e sonoff