Skip to content

Commit a92e809

Browse files
committed
refactor: add deployment
1 parent ce5d820 commit a92e809

File tree

7 files changed

+10201
-7
lines changed

7 files changed

+10201
-7
lines changed

.github/workflows/check.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ jobs:
1616
-
1717
name: Tests
1818
run: make
19+
-
20+
name: Deploy
21+
run: make deploy

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ clean:
2727
@rm -rf $(CURDIR)/build/*
2828
@rm -rf $(CURDIR)/.pioenvs/*
2929
@rm -rf $(CURDIR)/.pio/*
30+
31+
.PHONY: deploy
32+
deploy:
33+
cp $(CURDIR)/external/fakeit/fakeit-repo/single_header/standalone/* $(CURDIR)/src
34+

library.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,5 @@
1818
"libCompatMode": "off"
1919
},
2020
"frameworks": "arduino",
21-
"platforms": "native",
22-
"dependencies": {
23-
"FakeIt": "https://github.com/eranpeer/FakeIt.git#2.4.0"
24-
}
21+
"platforms": "native"
2522
}

platformio.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@
1111
[env:native]
1212
platform = native
1313
build_flags = -std=gnu++17
14-
-I .pio/libdeps/native/FakeIt/single_header/standalone
1514
test_build_src = yes
1615

src/ArduinoFake.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <cstring>
99
#include <cstdint>
1010
#include <stdexcept>
11-
#include <fakeit.hpp>
11+
#include "fakeit.hpp"
1212

1313
#include "arduino/Arduino.h"
1414

src/FunctionFake.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#include <fakeit.hpp>
3+
#include "fakeit.hpp"
44

55
struct FunctionFake
66
{

0 commit comments

Comments
 (0)