Skip to content

Commit

Permalink
feat: file hashing for reusing builds
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Mar 6, 2024
1 parent 8320265 commit 5033d55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/build/deps.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export { crypto } from "https://deno.land/std@0.208.0/crypto/mod.ts";
export { encodeHex } from "https://deno.land/std@0.208.0/encoding/hex.ts";
export * as tjs from "npm:typescript-json-schema@^0.62.0";
17 changes: 8 additions & 9 deletions src/build/mod.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
import {
assertExists,
denoPlugins,
esbuild,
exists,
join,
tjs,
} from "../deps.ts";
import { crypto, encodeHex } from "./deps.ts";
import { compileSchema } from "./schema.ts";
import { generateEntrypoint } from "./entrypoint.ts";
Expand All @@ -13,17 +21,8 @@ import { generateDenoConfig } from "./deno_config.ts";
import { inflateRuntimeArchive } from "./inflate_runtime_archive.ts";
import { Module, Script } from "../project/mod.ts";
import { shutdownAllPools } from "../utils/worker_pool.ts";
import {
assertExists,
denoPlugins,
esbuild,
exists,
join,
tjs,
} from "../deps.ts";
import { migrateDev } from "../migrate/dev.ts";
import { compileModuleTypeHelper } from "./gen.ts";
import { readUInt16BE } from "https://deno.land/x/postgres@v0.17.2/utils/utils.ts";

/**
* Which format to use for building.
Expand Down

0 comments on commit 5033d55

Please sign in to comment.