Skip to content
Open
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
4 changes: 3 additions & 1 deletion gren.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"FileSystem.Path",
"HttpClient",
"HttpServer",
"HttpServer.Response"
"HttpServer.Response",
"WebSocketServer",
"WebSocketServer.Connection"
],
"gren-version": "0.6.0 <= v < 0.7.0",
"dependencies": {
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/websocket/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.gren/
app
node_modules/
/test-results/
/playwright-report/
/playwright/.cache/
15 changes: 15 additions & 0 deletions integration-tests/websocket/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
app: Makefile gren.json src/Main.gren
gren make --optimize Main --output=app

.PHONY: test
test: app node_modules
npm test

node_modules: package.json package-lock.json
npm ci

.PHONY: clean
clean:
rm -rf .gren
rm -rf node_modules
rm -f app
17 changes: 17 additions & 0 deletions integration-tests/websocket/gren.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "application",
"platform": "node",
"source-directories": [
"src"
],
"gren-version": "0.6.3",
"dependencies": {
"direct": {
"gren-lang/core": "7.0.0",
"gren-lang/node": "local:../.."
},
"indirect": {
"gren-lang/url": "6.0.0"
}
}
}
Binary file not shown.
Binary file not shown.
Loading