mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
Run tools/format.sh
This commit is contained in:
parent
fe404dfce9
commit
d9cb093989
7 changed files with 10 additions and 9 deletions
4
BUILD.gn
4
BUILD.gn
|
@ -69,10 +69,10 @@ static_library("libdeno") {
|
||||||
v8_source_set("deno_nosnapshot") {
|
v8_source_set("deno_nosnapshot") {
|
||||||
sources = [
|
sources = [
|
||||||
"src/binding.cc",
|
"src/binding.cc",
|
||||||
"src/internal.h",
|
"src/deno.h",
|
||||||
"src/file_util.cc",
|
"src/file_util.cc",
|
||||||
"src/file_util.h",
|
"src/file_util.h",
|
||||||
"src/deno.h",
|
"src/internal.h",
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
"third_party/v8:v8_monolith",
|
"third_party/v8:v8_monolith",
|
||||||
|
|
|
@ -28,8 +28,8 @@ IN THE SOFTWARE.
|
||||||
#include "third_party/v8/include/v8.h"
|
#include "third_party/v8/include/v8.h"
|
||||||
#include "third_party/v8/src/base/logging.h"
|
#include "third_party/v8/src/base/logging.h"
|
||||||
|
|
||||||
#include "internal.h"
|
|
||||||
#include "deno.h"
|
#include "deno.h"
|
||||||
|
#include "internal.h"
|
||||||
|
|
||||||
namespace deno {
|
namespace deno {
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// All rights reserved. MIT License.
|
// All rights reserved. MIT License.
|
||||||
#ifndef DENO_H_
|
#ifndef DENO_H_
|
||||||
#define DENO_H_
|
#define DENO_H_
|
||||||
|
#include <stddef.h>
|
||||||
// Neither Rust nor Go support calling directly into C++ functions, therefore
|
// Neither Rust nor Go support calling directly into C++ functions, therefore
|
||||||
// the public interface to libdeno is done in C.
|
// the public interface to libdeno is done in C.
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
#include "third_party/v8/include/v8.h"
|
#include "third_party/v8/include/v8.h"
|
||||||
#include "third_party/v8/src/base/logging.h"
|
#include "third_party/v8/src/base/logging.h"
|
||||||
|
|
||||||
#include "internal.h"
|
|
||||||
#include "deno.h"
|
#include "deno.h"
|
||||||
|
#include "internal.h"
|
||||||
|
|
||||||
#ifdef DENO_MOCK_RUNTIME
|
#ifdef DENO_MOCK_RUNTIME
|
||||||
#include "snapshot_mock_runtime.cc"
|
#include "snapshot_mock_runtime.cc"
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "flatbuffers/flatbuffers.h"
|
|
||||||
#include "deno.h"
|
#include "deno.h"
|
||||||
|
#include "flatbuffers/flatbuffers.h"
|
||||||
#include "src/msg_generated.h"
|
#include "src/msg_generated.h"
|
||||||
#include "third_party/v8/src/base/logging.h"
|
#include "third_party/v8/src/base/logging.h"
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
||||||
// All rights reserved. MIT License.
|
// All rights reserved. MIT License.
|
||||||
// Hint: --trace_serializer is a useful debugging flag.
|
// Hint: --trace_serializer is a useful debugging flag.
|
||||||
#include "internal.h"
|
|
||||||
#include "file_util.h"
|
|
||||||
#include "deno.h"
|
#include "deno.h"
|
||||||
|
#include "file_util.h"
|
||||||
|
#include "internal.h"
|
||||||
#include "third_party/v8/include/v8.h"
|
#include "third_party/v8/include/v8.h"
|
||||||
#include "third_party/v8/src/base/logging.h"
|
#include "third_party/v8/src/base/logging.h"
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,6 @@
|
||||||
"allowUnreachableCode": false,
|
"allowUnreachableCode": false,
|
||||||
"experimentalDecorators": true
|
"experimentalDecorators": true
|
||||||
},
|
},
|
||||||
"include": [ "js/main.ts" ],
|
"include": ["js/main.ts"],
|
||||||
"exclude": [ "node_modules" ]
|
"exclude": ["node_modules"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue