Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions integration-tests/http-client/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
app
.gren
node_modules/
server-app
tests-app
stream-tests-app
.gren
22 changes: 13 additions & 9 deletions integration-tests/http-client/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
app: Makefile gren.json src/Main.gren
gren make --optimize Main --output=bin/app
server:
gren make TestsServer --output=server-app

.PHONY: test
test: app node_modules
npm test
tests:
gren make Tests --output=tests-app

stream-tests:
gren make LegacyStreamTests --output=stream-tests-app

node_modules: package.json package-lock.json
npm install
.PHONY: test
test: server tests stream-tests
node run.mjs

.PHONY: clean
clean:
rm -rf .gren
rm -rf node_modules
rm bin/app
rm server-app
rm tests-app
rm stream-tests-app
5 changes: 4 additions & 1 deletion integration-tests/http-client/gren.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
"gren-version": "0.6.2",
"dependencies": {
"direct": {
"blaix/gren-effectful-tests": "5.0.2",
"gren-lang/core": "7.0.0",
"gren-lang/node": "local:../.."
"gren-lang/node": "local:../..",
"gren-lang/test": "5.0.0",
"gren-lang/test-runner-node": "7.0.0"
},
"indirect": {
"gren-lang/url": "6.0.0"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading