Skip to content

Commit

Permalink
denoでpythonを走らせる
Browse files Browse the repository at this point in the history
  • Loading branch information
weweweok committed Nov 23, 2023
1 parent 2841a33 commit 4a117ea
Show file tree
Hide file tree
Showing 7 changed files with 210 additions and 217 deletions.
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"lock": false,
"tasks": {
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
"start": "deno run -A --watch=static/,routes/ dev.ts",
"build": "deno run -A dev.ts build",
"start": "deno run -A --unstable --watch=static/,routes/ dev.ts ",
"build": "deno run -A --unstable dev.ts build",
"preview": "deno run -A main.ts",
"update": "deno run -A -r https://fresh.deno.dev/update ."
},
Expand Down
10 changes: 4 additions & 6 deletions fresh.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
import * as $0 from "./routes/_404.tsx";
import * as $1 from "./routes/_app.tsx";
import * as $2 from "./routes/api/image.ts";
import * as $3 from "./routes/api/joke.ts";
import * as $4 from "./routes/greet/[name].tsx";
import * as $5 from "./routes/index.tsx";
import * as $3 from "./routes/greet/[name].tsx";
import * as $4 from "./routes/index.tsx";
import * as $$0 from "./islands/ImageForm.tsx";
import * as $$1 from "./islands/Top.tsx";
import * as $$2 from "./islands/subTitle.tsx";
Expand All @@ -17,9 +16,8 @@ const manifest = {
"./routes/_404.tsx": $0,
"./routes/_app.tsx": $1,
"./routes/api/image.ts": $2,
"./routes/api/joke.ts": $3,
"./routes/greet/[name].tsx": $4,
"./routes/index.tsx": $5,
"./routes/greet/[name].tsx": $3,
"./routes/index.tsx": $4,
},
islands: {
"./islands/ImageForm.tsx": $$0,
Expand Down
2 changes: 0 additions & 2 deletions islands/ImageForm.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { useSignal } from "https://esm.sh/*@preact/[email protected]";
import { encode } from "https://deno.land/[email protected]/encoding/hex.ts";
import { decode } from "$std/encoding/base64.ts";

export default function ImageForm() {
const isActiveFileUpLoderDisable = useSignal(false);
Expand Down
Binary file removed python/__pycache__/extract_png.cpython-311.pyc
Binary file not shown.
45 changes: 0 additions & 45 deletions python/extract_png.py

This file was deleted.

149 changes: 0 additions & 149 deletions python/gif_ascii_arter.py

This file was deleted.

Loading

1 comment on commit 4a117ea

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 4a117ea Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

UNCAUGHT_EXCEPTION

Error: Cannot load dynamic library because --unstable flag was not set
    at https://deno.land/x/[email protected]/src/ffi.ts:54:13

Please sign in to comment.