summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorztplz <mysticzt@gmail.com>2018-10-20 03:25:29 +0800
committerRyan Dahl <ry@tinyclouds.org>2018-10-19 15:25:29 -0400
commitb809a82fd9afc733004b56fab78fcc45a2fee064 (patch)
tree548ef2cb4fde4e75ba6727b8286b84ec8ceaa960 /tools
parent7210e7b33b84382d4f418ab1be37fea85c2e1422 (diff)
Add missing copyrights (#1024)
Diffstat (limited to 'tools')
-rw-r--r--tools/benchmark_test.py1
-rwxr-xr-xtools/build_test.py1
-rwxr-xr-xtools/check_output_test.py1
-rwxr-xr-xtools/deno_dir_test.py1
-rwxr-xr-xtools/format.py1
-rwxr-xr-xtools/http_benchmark.py2
-rwxr-xr-xtools/http_server.py1
-rwxr-xr-xtools/lint.py1
-rw-r--r--tools/node_http.js1
-rw-r--r--tools/rustfmt.toml1
-rwxr-xr-xtools/setup.py1
-rw-r--r--tools/setup_test.py1
-rwxr-xr-xtools/sync_third_party.py1
-rwxr-xr-xtools/test.py1
-rw-r--r--tools/third_party.py1
-rwxr-xr-xtools/unit_tests.py1
16 files changed, 15 insertions, 2 deletions
diff --git a/tools/benchmark_test.py b/tools/benchmark_test.py
index 42a3465b2..647e72478 100644
--- a/tools/benchmark_test.py
+++ b/tools/benchmark_test.py
@@ -1,3 +1,4 @@
+# Copyright 2018 the Deno authors. All rights reserved. MIT license.
import sys
import os
import benchmark
diff --git a/tools/build_test.py b/tools/build_test.py
index a75024add..370bd518d 100755
--- a/tools/build_test.py
+++ b/tools/build_test.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 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/check_output_test.py b/tools/check_output_test.py
index baeff23bf..b2169c12b 100755
--- a/tools/check_output_test.py
+++ b/tools/check_output_test.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 the Deno authors. All rights reserved. MIT license.
# Given a deno executable, this script execute several integration tests
# with it. The tests are stored in //tests/ and each script has a corresponding
# .out file which specifies what the stdout should be.
diff --git a/tools/deno_dir_test.py b/tools/deno_dir_test.py
index 7ca22f9dd..769af6dca 100755
--- a/tools/deno_dir_test.py
+++ b/tools/deno_dir_test.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 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/format.py b/tools/format.py
index 5b6afd1c3..cf03ccca3 100755
--- a/tools/format.py
+++ b/tools/format.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 the Deno authors. All rights reserved. MIT license.
from glob import glob
import os
from third_party import third_party_path, fix_symlinks, google_env, clang_format_path
diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py
index 62647f629..58e9c279e 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.
import os
import sys
import util
diff --git a/tools/http_server.py b/tools/http_server.py
index eae5a15b8..222410c15 100755
--- a/tools/http_server.py
+++ b/tools/http_server.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 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/lint.py b/tools/lint.py
index 4471dafae..f163a3264 100755
--- a/tools/lint.py
+++ b/tools/lint.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 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 dbe9de81a..2cdb54647 100644
--- a/tools/node_http.js
+++ b/tools/node_http.js
@@ -1,3 +1,4 @@
+// Copyright 2018 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/rustfmt.toml b/tools/rustfmt.toml
index 4c1eefaed..f0cc02616 100644
--- a/tools/rustfmt.toml
+++ b/tools/rustfmt.toml
@@ -1,2 +1,3 @@
+# Copyright 2018 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 3b0246f51..7b14c6370 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 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 05f094c60..15dff00fa 100644
--- a/tools/setup_test.py
+++ b/tools/setup_test.py
@@ -1,5 +1,4 @@
# Copyright 2018 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/sync_third_party.py b/tools/sync_third_party.py
index 697470a49..39afdccd4 100755
--- a/tools/sync_third_party.py
+++ b/tools/sync_third_party.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 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 d2a7944e6..2212cd191 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 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 c669a81e3..892ce40e6 100644
--- a/tools/third_party.py
+++ b/tools/third_party.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 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/unit_tests.py b/tools/unit_tests.py
index 78b4d77c1..f357aaccd 100755
--- a/tools/unit_tests.py
+++ b/tools/unit_tests.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# Copyright 2018 the Deno authors. All rights reserved. MIT license.
import util
import sys
import subprocess