Skip to content

Commit

Permalink
Update deno
Browse files Browse the repository at this point in the history
  • Loading branch information
nktpro committed May 23, 2024
1 parent 830524b commit 9ddeebb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,9 @@ auto_fmt() {
deno fmt
}

update_cache() {
rm -f deno.lock && deno cache --lock=deno.lock "${SCRIPT_DIR}"/src/deps.ts "${SCRIPT_DIR}"/src/app.ts
}

update_lock() {
rm -f deno.lock
deno cache --reload "${SCRIPT_DIR}"/src/deps.ts "${SCRIPT_DIR}"/src/app.ts
deno cache "${SCRIPT_DIR}"/src/deps.ts "${SCRIPT_DIR}"/src/app.ts --lock ./deno.lock --lock-write
deno cache --reload "${SCRIPT_DIR}"/src/deps.ts "${SCRIPT_DIR}"/src/app.ts --lock ./deno.lock --lock-write
}

run() {
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9ddeebb

Please sign in to comment.