fix: get compilation working

fix: remove unnecessary console.log
This commit is contained in:
Andy Burke 2025-06-19 16:27:10 -07:00
parent b7011f9659
commit fe706b858a
3 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
data/
tests/data
serverus

View file

@ -1,7 +1,7 @@
{
"name": "@andyburke/serverus",
"description": "A flexible HTTP server for mixed content. Throw static files, markdown, Typescript and (hopefully, eventually) more into a directory and serverus can serve it up a bit more like old-school CGI.",
"version": "0.0.2",
"version": "0.0.3",
"license": "MIT",
"exports": {
".": "./serverus.ts",
@ -15,7 +15,7 @@
"lint": "deno lint",
"fmt": "deno fmt",
"test": "DENO_ENV=test DATA_STORAGE_ROOT=./tests/data/$(date --iso-8601=seconds) deno test --allow-env --allow-read --allow-write --allow-net --trace-leaks --fail-fast ./tests/",
"build": "deno compile --allow-env --allow-read --allow-write --allow-net ./serverus.ts",
"build": "deno compile --allow-env --allow-read --allow-write --allow-net --include handlers ./serverus.ts -o serverus",
"serverus": "deno --allow-env --allow-read --allow-write --allow-net ./serverus.ts"
},
"test": {

View file

@ -167,7 +167,6 @@ export class SERVER {
Deno.addSignalListener('SIGTERM', this.shutdown_binding);
Deno.addSignalListener('SIGINT', this.shutdown_binding);
console.log('listening');
return this;
}