diff options
Diffstat (limited to 'tools')
33 files changed, 33 insertions, 26 deletions
diff --git a/tools/benchmark_test.py b/tools/benchmark_test.py index 647e72478..b2c4aa9a6 100644 --- a/tools/benchmark_test.py +++ b/tools/benchmark_test.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import sys import os import benchmark diff --git a/tools/build.py b/tools/build.py index e9ab9eaac..32d43c2ff 100755 --- a/tools/build.py +++ b/tools/build.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. from __future__ import print_function import os import sys diff --git a/tools/build_test.py b/tools/build_test.py index 370bd518d..0b5f496c1 100755 --- a/tools/build_test.py +++ b/tools/build_test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import sys from build import main as build from test import main as test diff --git a/tools/deno_dir_test.py b/tools/deno_dir_test.py index 9f53cf3b9..4b6c3d8aa 100755 --- a/tools/deno_dir_test.py +++ b/tools/deno_dir_test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Check deno dir is created properly # Usage: deno_dir_test.py [path to deno dir] import os diff --git a/tools/docs.py b/tools/docs.py index 00efd22c5..dc6a7f9e8 100755 --- a/tools/docs.py +++ b/tools/docs.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import tempfile from util import run, root_path diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py index 05e54f173..eb16616db 100755 --- a/tools/http_benchmark.py +++ b/tools/http_benchmark.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import sys import util diff --git a/tools/http_server.py b/tools/http_server.py index 74402f536..4df0e7690 100755 --- a/tools/http_server.py +++ b/tools/http_server.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Many tests expect there to be an http server on port 4545 servering the deno # root directory. import os diff --git a/tools/hyper_hello.rs b/tools/hyper_hello.rs index 08fc21b39..d46ba3e14 100644 --- a/tools/hyper_hello.rs +++ b/tools/hyper_hello.rs @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Adapted from https://github.com/hyperium/hyper/blob/master/examples/hello.rs #![deny(warnings)] diff --git a/tools/integration_tests.py b/tools/integration_tests.py index 86638ce3f..cca4a75ca 100755 --- a/tools/integration_tests.py +++ b/tools/integration_tests.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Given a deno executable, this script executes several integration tests with # it. The tests are stored in /tests/ and each is specified in a .yaml file # where a description, command line, and output are specified. Optionally an diff --git a/tools/lint.py b/tools/lint.py index e297c0478..94b79739c 100755 --- a/tools/lint.py +++ b/tools/lint.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Does google-lint on c++ files and ts-lint on typescript files import os diff --git a/tools/node_http.js b/tools/node_http.js index 2cdb54647..2439cfc43 100644 --- a/tools/node_http.js +++ b/tools/node_http.js @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. const http = require("http"); const port = process.argv[2] || "4544"; console.log("port", port); diff --git a/tools/node_tcp.js b/tools/node_tcp.js index d4ed6db40..1e68fc05f 100644 --- a/tools/node_tcp.js +++ b/tools/node_tcp.js @@ -1,4 +1,4 @@ -// Copyright 2018 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Note: this is a keep-alive server. const { Server } = require("net"); const port = process.argv[2] || "4544"; diff --git a/tools/permission_prompt_test.py b/tools/permission_prompt_test.py index ad23c6557..5eae5beda 100755 --- a/tools/permission_prompt_test.py +++ b/tools/permission_prompt_test.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import pty import select diff --git a/tools/permission_prompt_test.ts b/tools/permission_prompt_test.ts index e5c5be3b4..7f62bc37d 100644 --- a/tools/permission_prompt_test.ts +++ b/tools/permission_prompt_test.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { args, listen, env, exit, makeTempDirSync, run } from "deno"; const name = args[1]; diff --git a/tools/prebuilt.py b/tools/prebuilt.py index d30b232be..69dcefdfd 100644 --- a/tools/prebuilt.py +++ b/tools/prebuilt.py @@ -1,3 +1,4 @@ +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import sys import os from util import run, root_path diff --git a/tools/prefetch_test.py b/tools/prefetch_test.py index d6de9d398..bc106d5f5 100755 --- a/tools/prefetch_test.py +++ b/tools/prefetch_test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import sys from util import tests_path, run_output, build_path, executable_suffix, green_ok diff --git a/tools/repl_test.py b/tools/repl_test.py index 6836b9f65..620888e4b 100644 --- a/tools/repl_test.py +++ b/tools/repl_test.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os from subprocess import CalledProcessError, PIPE, Popen import sys diff --git a/tools/run_node.py b/tools/run_node.py index 4f6c87b91..4023f7586 100755 --- a/tools/run_node.py +++ b/tools/run_node.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. """ gn can only run python scripts. This launches a subprocess Node process. The working dir of this program is out/Debug/ (AKA root_build_dir) diff --git a/tools/rustfmt.toml b/tools/rustfmt.toml index f0cc02616..faa3d5a33 100644 --- a/tools/rustfmt.toml +++ b/tools/rustfmt.toml @@ -1,3 +1,3 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. max_width = 80 tab_spaces = 2 diff --git a/tools/setup.py b/tools/setup.py index 3ffc631df..4958cca2a 100755 --- a/tools/setup.py +++ b/tools/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import third_party from util import build_mode, build_path, enable_ansi_colors, root_path, run from util import shell_quote diff --git a/tools/setup_test.py b/tools/setup_test.py index bc0a9ecba..63ddfb413 100644 --- a/tools/setup_test.py +++ b/tools/setup_test.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os from setup import gn_string, read_gn_args, write_gn_args from shutil import rmtree diff --git a/tools/sha256sum.py b/tools/sha256sum.py index 139368e89..99ca283b1 100644 --- a/tools/sha256sum.py +++ b/tools/sha256sum.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. """ Computes the SHA256 hash and formats the result. """ diff --git a/tools/sync_third_party.py b/tools/sync_third_party.py index 4205c4883..f3c254901 100755 --- a/tools/sync_third_party.py +++ b/tools/sync_third_party.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Run this script if you are changing Deno's dependencies. # To update the deno_third_party git repo after running this, try the following: # cd third_party diff --git a/tools/test.py b/tools/test.py index 9a0b73359..614395b71 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Runs the full test suite. # Usage: ./tools/test.py out/Debug import os diff --git a/tools/third_party.py b/tools/third_party.py index 0578899cd..8bbc319b7 100644 --- a/tools/third_party.py +++ b/tools/third_party.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # This script contains helper functions to work with the third_party subrepo. import os diff --git a/tools/throughput_benchmark.py b/tools/throughput_benchmark.py index 7afd3cb81..4f1c02449 100755 --- a/tools/throughput_benchmark.py +++ b/tools/throughput_benchmark.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. # Performs benchmark and append data to //website/data.json. # If //website/data.json doesn't exist, this script tries to import it from # gh-pages branch. diff --git a/tools/ts_library_builder/ast_util.ts b/tools/ts_library_builder/ast_util.ts index 85d0a3480..9bb7e8edc 100644 --- a/tools/ts_library_builder/ast_util.ts +++ b/tools/ts_library_builder/ast_util.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { relative } from "path"; import { readFileSync } from "fs"; import { EOL } from "os"; diff --git a/tools/ts_library_builder/main.ts b/tools/ts_library_builder/main.ts index e6662577f..8dc6cfabe 100644 --- a/tools/ts_library_builder/main.ts +++ b/tools/ts_library_builder/main.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as path from "path"; import { main as buildRuntimeLib } from "./build_library"; diff --git a/tools/ts_library_builder/test.ts b/tools/ts_library_builder/test.ts index ad0d7cfa1..74d7b05f1 100644 --- a/tools/ts_library_builder/test.ts +++ b/tools/ts_library_builder/test.ts @@ -1,3 +1,4 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. // Run this manually with: // // ./node_modules/.bin/ts-node --project tools/ts_library_builder/tsconfig.json tools/ts_library_builder/test.ts diff --git a/tools/unit_tests.py b/tools/unit_tests.py index 8b36fec44..3f9956d43 100755 --- a/tools/unit_tests.py +++ b/tools/unit_tests.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import util import sys import subprocess diff --git a/tools/upload_website.py b/tools/upload_website.py index 5153d35aa..c014888ca 100755 --- a/tools/upload_website.py +++ b/tools/upload_website.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import tempfile from util import run, root_path diff --git a/tools/util.py b/tools/util.py index a7370950b..a4355b41f 100644 --- a/tools/util.py +++ b/tools/util.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import os import re import shutil diff --git a/tools/util_test.py b/tools/util_test.py index bf2b92b5a..b7c054b92 100644 --- a/tools/util_test.py +++ b/tools/util_test.py @@ -1,4 +1,4 @@ -# Copyright 2018 the Deno authors. All rights reserved. MIT license. +# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. from util import pattern_match, parse_exit_code, shell_quote_win import util import os |