Skip to content

Commit 8a25bc5

Browse files
committed
Fix Makefiles with regards to caching
1 parent 6833e85 commit 8a25bc5

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

integration-tests/child-process/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
app: Makefile gren.json src/Main.gren
1+
bin/app: Makefile gren.json src/Main.gren
22
gren make --optimize Main --output=bin/app
33

44
.PHONY: test
5-
test: app node_modules
5+
test: bin/app node_modules
66
npm test
77

88
node_modules: package.json package-lock.json
9-
npm install
9+
npm ci
1010

1111
.PHONY: clean
1212
clean:
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
server:
1+
server-app:
22
gren make TestsServer --output=server-app
33

4-
tests:
4+
tests-app:
55
gren make Tests --output=tests-app
66

7-
stream-tests:
7+
stream-tests-app:
88
gren make LegacyStreamTests --output=stream-tests-app
99

1010
.PHONY: test
11-
test: server tests stream-tests
11+
test: server-app tests-app stream-tests-app
1212
node run.mjs
1313

1414
.PHONY: clean
1515
clean:
1616
rm -rf .gren
1717
rm server-app
1818
rm tests-app
19-
rm stream-tests-app
19+
rm stream-tests-app
Binary file not shown.

integration-tests/http-server/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ test: app node_modules
66
npm test
77

88
node_modules: package.json package-lock.json
9-
npm install
9+
npm ci
1010

1111
.PHONY: clean
1212
clean:

integration-tests/signals/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
app: Makefile gren.json src/Main.gren
1+
bin/app: Makefile gren.json src/Main.gren
22
gren make --optimize Main --output=bin/app
33

44
.PHONY: test
5-
test: app node_modules
5+
test: bin/app node_modules
66
npm test
77

88
node_modules: package.json package-lock.json
9-
npm install
9+
npm ci
1010

1111
.PHONY: clean
1212
clean:

0 commit comments

Comments
 (0)