14 lines
440 B
TypeScript
14 lines
440 B
TypeScript
import { resolve, join } from "node:path"
|
|
import { $ } from "bun"
|
|
|
|
export const NOSE_ICON = ` ͡° ͜ʖ ͡°`
|
|
|
|
export const NOSE_SYS = resolve("./nose")
|
|
export const NOSE_SYS_BIN = join(NOSE_SYS, "bin")
|
|
|
|
export const NOSE_DIR = resolve("..")
|
|
export const NOSE_BIN = join(NOSE_DIR, "bin")
|
|
export const NOSE_WWW = join(NOSE_DIR, "www")
|
|
|
|
export const NOSE_STARTED = Date.now()
|
|
export const GIT_SHA = (await $`git rev-parse HEAD`.text()).trim() |