Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
deno
提交
8ca082c5
D
deno
项目概览
张重言
/
deno
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
deno
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
8ca082c5
编写于
10月 04, 2018
作者:
B
Bert Belder
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tools/format: format markdown files with prettier
上级
30acfdf3
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
7 deletion
+20
-7
.prettierrc.json
.prettierrc.json
+3
-0
README.md
README.md
+9
-4
tools/format.py
tools/format.py
+8
-3
未找到文件。
.prettierrc.json
0 → 100644
浏览文件 @
8ca082c5
{
"proseWrap"
:
"always"
}
README.md
浏览文件 @
8ca082c5
...
...
@@ -2,8 +2,7 @@
|
**Linux & Mac**
|
**Windows**
|
|:---------------:|:-----------:|
|
[
![Travis
](
https://travis-ci.com/denoland/deno.svg?branch=master
)
](https://travis-ci.com/denoland/deno) |
[
![Appveyor
](
https://ci.appveyor.com/api/projects/status/yel7wtcqwoy0to8x?branch=master&svg=true
)
](https://ci.appveyor.com/project/deno/deno) |
|
[
![
][
tci badge
]
]
[
tci link] | [![
][
avy badge
]
][avy link] |
## A secure TypeScript runtime built on V8
...
...
@@ -32,7 +31,7 @@
network access.
*
Single executable:
```
```
> ls -lh out/release/deno
-rwxr-xr-x 1 rld staff 48M Aug 2 13:24 out/release/deno
> otool -L out/release/deno
...
...
@@ -42,7 +41,7 @@
/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 58286.51.6)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0)
>
```
```
*
Always dies on uncaught errors.
...
...
@@ -152,3 +151,9 @@ Env vars: `DENO_BUILD_MODE`, `DENO_BUILD_PATH`, `DENO_BUILD_ARGS`.
5.
Make sure
`./tools/lint.py`
passes.
6.
Send a pull request.
7.
Sign the
[
CLA
](
https://cla-assistant.io/denoland/deno
)
, if you haven't already.
<!-- prettier-ignore -->
[
avy badge
]:
https://ci.appveyor.com/api/projects/status/yel7wtcqwoy0to8x?branch=master&svg=true
[
avy link
]:
https://ci.appveyor.com/project/deno/deno
[
tci badge
]:
https://travis-ci.com/denoland/deno.svg?branch=master
[
tci link
]:
https://travis-ci.com/denoland/deno
tools/format.py
浏览文件 @
8ca082c5
...
...
@@ -28,9 +28,14 @@ for fn in ["BUILD.gn", ".gn"] + find_exts("build_extra", ".gn", ".gni"):
# TODO(ry) Install yapf in third_party.
run
([
"yapf"
,
"-i"
]
+
glob
(
"tools/*.py"
)
+
find_exts
(
"build_extra"
,
".py"
))
run
([
"node"
,
prettier
,
"--write"
]
+
find_exts
(
"js/"
,
".js"
,
".ts"
)
+
find_exts
(
"tests/"
,
".js"
,
".ts"
)
+
find_exts
(
"website/"
,
".js"
,
".ts"
)
+
[
"rollup.config.js"
,
"tsconfig.json"
,
"tslint.json"
])
# yapf: disable
run
([
"node"
,
prettier
,
"--write"
]
+
[
"rollup.config.js"
]
+
glob
(
"*.json"
)
+
glob
(
"*.md"
)
+
find_exts
(
".github/"
,
".md"
)
+
find_exts
(
"js/"
,
".js"
,
".ts"
,
".md"
)
+
find_exts
(
"tests/"
,
".js"
,
".ts"
,
".md"
)
+
find_exts
(
"website/"
,
".js"
,
".ts"
,
".md"
))
# yapf: enable
# Requires rustfmt 0.8.2 (flags were different in previous versions)
run
([
"rustfmt"
,
"--config-path"
,
rustfmt_config
]
+
find_exts
(
"src/"
,
".rs"
))
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录