提交 98538622 编写于 作者: Y Yoshiya Hinosawa 提交者: Ryan Dahl

refactor: update for flag change in the next version (denoland/deno_std#327)


Original: https://github.com/denoland/deno_std/commit/b6c7291181348fa2b2ca2f415875c864ad05824d
上级 955a9bc1
......@@ -13,8 +13,8 @@ jobs:
- script: curl -L https://deno.land/x/install/install.sh | sh -s $(DENO_VERSION)
- script: echo '##vso[task.prependpath]$(HOME)/.deno/bin/'
- script: npx eslint **/*.ts
- script: deno format.ts --allow-run --allow-write --allow-read --check
- script: deno test.ts --allow-run --allow-net --allow-write --allow-read
- script: deno --allow-run --allow-write --allow-read format.ts --check
- script: deno --allow-run --allow-net --allow-write --allow-read test.ts
- job: "Mac"
pool:
......@@ -24,8 +24,8 @@ jobs:
- script: curl -L https://deno.land/x/install/install.sh | sh -s $(DENO_VERSION)
- script: echo '##vso[task.prependpath]$(HOME)/.deno/bin/'
- script: eslint **/*.ts
- script: deno format.ts --allow-run --allow-write --allow-read --check
- script: deno test.ts --allow-run --allow-net --allow-write --allow-read
- script: deno --allow-run --allow-write --allow-read format.ts --check
- script: deno --allow-run --allow-net --allow-write --allow-read test.ts
- job: "Windows"
pool:
......@@ -35,5 +35,5 @@ jobs:
- powershell: iwr https://deno.land/x/install/install.ps1 -out install.ps1; .\install.ps1 $(DENO_VERSION)
- bash: echo "##vso[task.prependpath]C:\Users\VssAdministrator\.deno\\bin"
- bash: npx eslint **/*.ts
- bash: deno.exe format.ts --allow-run --allow-write --allow-read --check
- bash: deno.exe test.ts --allow-run --allow-net --allow-write --allow-read
- bash: deno.exe --allow-run --allow-write --allow-read format.ts --check
- bash: deno.exe --allow-run --allow-net --allow-write --allow-read test.ts
......@@ -14,5 +14,5 @@ Add this to your `.bash_profile`
```
export GIST_TOKEN=ABC # Generate at https://github.com/settings/tokens
alias gist="deno https://deno.land/std/examples/gist.ts --allow-net --allow-env"
alias gist="deno --allow-net --allow-env https://deno.land/std/examples/gist.ts"
```
......@@ -24,5 +24,5 @@ A small program for serving local files over HTTP.
Add the following to your `.bash_profile`
```
alias file_server="deno https://deno.land/std/http/file_server.ts --allow-net"
alias file_server="deno --allow-net https://deno.land/std/http/file_server.ts"
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册