Skip to content

Commit

Permalink
Update to deno 1.45.3 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
smack0007 authored Jul 25, 2024
1 parent f1833b2 commit 5ca6567
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 56 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Deno Setup
uses: denoland/setup-deno@v1
with:
deno-version: "1.44.4"
deno-version: "1.45.3"

- name: Build
run: |
Expand Down
87 changes: 33 additions & 54 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@
},
"type": "deno",
"command": "task",
"args": [
"build"
],
"args": ["build"],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$deno"
]
"problemMatcher": ["$deno"]
},
{
"label": "CodeGen",
Expand All @@ -27,15 +23,11 @@
},
"type": "deno",
"command": "task",
"args": [
"codegen"
],
"args": ["codegen"],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$deno"
]
"problemMatcher": ["$deno"]
},
{
"label": "CodeGen Scraper",
Expand All @@ -45,15 +37,11 @@
},
"type": "deno",
"command": "task",
"args": [
"codegen-scraper"
],
"args": ["codegen-scraper"],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$deno"
]
"problemMatcher": ["$deno"]
},
{
"label": "Run Doom Fire",
Expand All @@ -63,15 +51,14 @@
},
"type": "deno",
"command": "task",
"args": [
"run:doom-fire"
],
"args": ["run:doom-fire"],
"options": {
"env": {
"GDK_BACKEND": "wayland"
},
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$deno"
]
"problemMatcher": ["$deno"]
},
{
"label": "Run Hello World",
Expand All @@ -81,15 +68,14 @@
},
"type": "deno",
"command": "task",
"args": [
"run:hello-world"
],
"args": ["run:hello-world"],
"options": {
"env": {
"GDK_BACKEND": "wayland"
},
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$deno"
]
"problemMatcher": ["$deno"]
},
{
"label": "Run Hello World Async",
Expand All @@ -99,15 +85,14 @@
},
"type": "deno",
"command": "task",
"args": [
"run:hello-world-async"
],
"args": ["run:hello-world-async"],
"options": {
"env": {
"GDK_BACKEND": "wayland"
},
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$deno"
]
"problemMatcher": ["$deno"]
},
{
"label": "Run Renderer",
Expand All @@ -117,15 +102,14 @@
},
"type": "deno",
"command": "task",
"args": [
"run:renderer"
],
"args": ["run:renderer"],
"options": {
"env": {
"GDK_BACKEND": "wayland"
},
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$deno"
]
"problemMatcher": ["$deno"]
},
{
"label": "Run Same Game",
Expand All @@ -135,25 +119,20 @@
},
"type": "deno",
"command": "task",
"args": [
"run:same-game"
],
"args": ["run:same-game"],
"options": {
"env": {
"GDK_BACKEND": "wayland"
},
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$deno"
]
"problemMatcher": ["$deno"]
},
{
"type": "deno",
"command": "task",
"args": [
"test"
],
"problemMatcher": [
"$deno-test"
],
"args": ["test"],
"problemMatcher": ["$deno-test"],
"group": "test",
"label": "Run Tests"
}
Expand Down
2 changes: 1 addition & 1 deletion src/_platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Platform } from "./_types.ts";

let platform: Platform | null = null;

if ("Deno" in window) {
if ("Deno" in globalThis) {
platform = DenoPlatform;
}

Expand Down

0 comments on commit 5ca6567

Please sign in to comment.