Move lume
task to its own file
This is to encourage use of the predefined tasks and also means that upgrades must now be performed manually.
This commit is contained in:
parent
2dbc943aa1
commit
0d7c70de80
2 changed files with 3 additions and 3 deletions
|
@ -3,9 +3,8 @@
|
||||||
"lume/": "https://deno.land/x/lume@v2.2.0/"
|
"lume/": "https://deno.land/x/lume@v2.2.0/"
|
||||||
},
|
},
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"lume": "echo \"import 'lume/cli.ts'\" | deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' -",
|
"build": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' lume.ts",
|
||||||
"build": "deno task lume",
|
"serve": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' lume.ts -s",
|
||||||
"serve": "deno task lume -s",
|
|
||||||
"check": "deno fmt --check && deno lint && deno check .",
|
"check": "deno fmt --check && deno lint && deno check .",
|
||||||
"deploy": "rsync -avh --progress --delete ./_site/ podman:/srv/www/pay.fosterhangdaan.com/"
|
"deploy": "rsync -avh --progress --delete ./_site/ podman:/srv/www/pay.fosterhangdaan.com/"
|
||||||
},
|
},
|
||||||
|
|
1
lume.ts
Normal file
1
lume.ts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import "lume/cli.ts";
|
Loading…
Reference in a new issue