fix: get compilation working
fix: remove unnecessary console.log
This commit is contained in:
parent
b7011f9659
commit
fe706b858a
3 changed files with 3 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
data/
|
||||
tests/data
|
||||
serverus
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -167,7 +167,6 @@ export class SERVER {
|
|||
Deno.addSignalListener('SIGTERM', this.shutdown_binding);
|
||||
Deno.addSignalListener('SIGINT', this.shutdown_binding);
|
||||
|
||||
console.log('listening');
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue