mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
refactor: update for flag change in the next version (#327)
This commit is contained in:
parent
1d53fb4d79
commit
b6c7291181
3 changed files with 8 additions and 8 deletions
|
@ -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"
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue