Skip to content

Commit

Permalink
build: fix script root path (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Mar 13, 2024
1 parent 9b965b9 commit b283824
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions paths.ts
@@ -1,11 +1,6 @@
import { resolve } from "$std/path/mod.ts"
import { fromFileUrl } from "$std/path/mod.ts"
import { dirname } from "$std/path/dirname.ts"

import { c, p } from "https://deno.land/x/copb@v1.0.1/mod.ts"

export const scripts = c(p(fromFileUrl)(dirname))(import.meta.url)
export const root = resolve(scripts, "..")
export const root = import.meta.dirname!
export const jar = resolve(root, "build", "libs", "MarisaContinued.jar")
export const image = resolve("docs", "thumbnail", "image.jpg")

Expand Down

0 comments on commit b283824

Please sign in to comment.