Add default-run (+ clean up old references) (#2876)

This commit is contained in:
Nayeem Rahman 2019-09-07 03:31:56 +01:00 committed by Ryan Dahl
parent 699d2ae4bb
commit 8e3c879d13
3 changed files with 2 additions and 3 deletions

View file

@ -14,6 +14,7 @@ path = "main.rs"
name = "deno_cli" name = "deno_cli"
version = "0.17.0" version = "0.17.0"
edition = "2018" edition = "2018"
default-run = "deno"
[dependencies] [dependencies]
deno = { path = "../core" } deno = { path = "../core" }

View file

@ -22,8 +22,6 @@
"files": [ "files": [
"js/lib.web_assembly.d.ts", "js/lib.web_assembly.d.ts",
"js/lib.deno_runtime.d.ts", "js/lib.deno_runtime.d.ts",
"core/core.d.ts",
"core/libdeno/libdeno.d.ts",
"js/main.ts", "js/main.ts",
"js/compiler.ts" "js/compiler.ts"
] ]

View file

@ -160,7 +160,7 @@ cargo build -vv
./target/debug/deno tests/002_hello.ts ./target/debug/deno tests/002_hello.ts
# Test. # Test.
CARGO_TEST=1 ./tools/test.py ./tools/test.py
# Format code. # Format code.
./tools/format.py ./tools/format.py