mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
Add missing copyrights (#1024)
This commit is contained in:
parent
7210e7b33b
commit
b809a82fd9
46 changed files with 39 additions and 12 deletions
|
@ -1,3 +1,4 @@
|
|||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
version: '{build}.{branch}'
|
||||
|
||||
skip_branch_with_pr: true
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
language: c++
|
||||
matrix:
|
||||
include:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
# Dummy package info required by `cargo fetch`.
|
||||
# Use tools/sync_third_party.py to install deps after editing this file.
|
||||
# Deno does not build with cargo. Deno uses a build system called gn.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
solutions = [{
|
||||
'url': 'https://chromium.googlesource.com/v8/v8.git@7.0.276.15',
|
||||
'name': 'v8',
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
// tslint:disable-next-line:no-any
|
||||
type ConsoleContext = Set<any>;
|
||||
type ConsoleOptions = Partial<{
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
import { test, assert, assertEqual } from "./test_util.ts";
|
||||
import { stringifyArgs } from "./console.ts";
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
||||
import * as deno from "deno";
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
// Public deno module.
|
||||
/// <amd-module name="deno"/>
|
||||
export { env, exit } from "./os";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { test, testPerm, assert, assertEqual } from "./test_util.ts";
|
||||
import * as deno from "deno";
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { Base, ErrorKind } from "gen/msg_generated";
|
||||
export { ErrorKind } from "gen/msg_generated";
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
import { Reader, Writer, Closer, ReadResult } from "./io";
|
||||
import * as dispatch from "./dispatch";
|
||||
import * as msg from "gen/msg_generated";
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
import * as deno from "deno";
|
||||
import { test, assert, assertEqual } from "./test_util.ts";
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
import { flatbuffers } from "flatbuffers";
|
||||
import * as util from "./util";
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
/** If you use the eval function indirectly, by invoking it via a reference
|
||||
* other than eval, as of ECMAScript 5 it works in the global scope rather than
|
||||
* the local scope. This means, for instance, that function declarations create
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
import * as blob from "./blob";
|
||||
import * as console from "./console";
|
||||
import * as fetch_ from "./fetch";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { RawSourceMap } from "./types";
|
||||
import { globalEval } from "./global_eval";
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
export default undefined;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
import { ReadResult, Reader, Writer, Closer } from "./io";
|
||||
import * as msg from "gen/msg_generated";
|
||||
import { assert, notImplemented } from "./util";
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
import * as deno from "deno";
|
||||
import { testPerm, assert, assertEqual } from "./test_util.ts";
|
||||
import { deferred } from "./util.ts";
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
// Do not add unsupported platforms.
|
||||
export interface Platform {
|
||||
/** The operating system CPU architecture. */
|
||||
|
|
2
js/plugins.d.ts
vendored
2
js/plugins.d.ts
vendored
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
// This allows TypeScript to resolve any modules that end with `!string`
|
||||
// as there is a rollup plugin that will take any mids ending with `!string`
|
||||
// and return them as a string to rollup for inlining
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { PromiseRejectEvent } from "./libdeno";
|
||||
|
||||
/* tslint:disable-next-line:no-any */
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import { testPerm, assertEqual } from "./test_util.ts";
|
||||
import * as deno from "deno";
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
// This test is executed as part of tools/test.py
|
||||
// But it can also be run manually: ./out/debug/deno js/unit_tests.ts
|
||||
import "./compiler_test.ts";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import path from "path";
|
||||
import alias from "rollup-plugin-alias";
|
||||
import { plugin as analyze } from "rollup-plugin-analyzer";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
use std;
|
||||
use std::fs::{create_dir, DirBuilder, File, OpenOptions};
|
||||
use std::io::ErrorKind;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
use errors;
|
||||
use errors::{DenoError, DenoResult};
|
||||
use tokio_util;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
use errors;
|
||||
use errors::permission_denied;
|
||||
use errors::{DenoError, DenoResult, ErrorKind};
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
use resources::Resource;
|
||||
|
||||
use futures;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import sys
|
||||
import os
|
||||
import benchmark
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import os
|
||||
import sys
|
||||
import util
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
max_width = 80
|
||||
tab_spaces = 2
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
# Copyright 2018 the Deno authors. All rights reserved. MIT license.
|
||||
import util
|
||||
import sys
|
||||
import subprocess
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- Copyright 2018 the Deno authors. All rights reserved. MIT license. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
|
Loading…
Reference in a new issue