[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ops-www] branch master updated: use dist for handling outpu
From: |
gnunet |
Subject: |
[taler-taler-ops-www] branch master updated: use dist for handling output |
Date: |
Sat, 24 Feb 2024 23:43:47 +0100 |
This is an automated email from the git hooks/post-receive script.
nora pushed a commit to branch master
in repository taler-ops-www.
The following commit(s) were added to refs/heads/master by this push:
new 52f8c6d use dist for handling output
52f8c6d is described below
commit 52f8c6d0b55503abd4b1570b0d186c1806355e95
Author: Nullptrderef <nullptrderef@national.shitposting.agency>
AuthorDate: Sat Feb 24 23:43:43 2024 +0100
use dist for handling output
---
Makefile | 6 ++++--
package.json | 3 +--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 4975e91..628d63f 100644
--- a/Makefile
+++ b/Makefile
@@ -28,13 +28,12 @@ build-parcel:
build-parcel-no-optimize:
./build-system/pkgmgr run build-parcel-no-optimize;
postbuild-parcel:
- ./build-system/pkgmgr run handle-parcel-output;
./build-system/pkgmgr run cleanup-parcel;
.PHONY: run
run: all
$(browser) http://0.0.0.0:8000/en &
- $(python) -m http.server --directory rendered/
+ $(python) -m http.server --directory dist/
variant = $(opt_variant)
@@ -53,11 +52,14 @@ install-files:
$(mkdir) -p $(prefix)/$(variant)
$(cp) -r rendered/* $(prefix)/$(variant)/
$(cp) -r rendered/.well-known/ $(prefix)/$(variant)/
+ $(cp) -r dist/* $(prefix)/$(variant)/
.PHONY: clean
clean:
+ $(rm) -rf .parcel-cache/
$(rm) -rf __pycache__ *.pyc *~ \.*~ \#*\#
$(rm) -rf rendered/
+ $(rm) -rf dist/
.PHONY: submodules/update
submodules/update:
diff --git a/package.json b/package.json
index 696c70f..7427e49 100644
--- a/package.json
+++ b/package.json
@@ -7,8 +7,7 @@
"prepare-parcel": "rm -f rendered/index.html && for file in
rendered/**/*.html; do echo \"<a href='$file'>...</a>\" >> rendered/index.html;
done; sed -i 's/rendered/./g' rendered/index.html",
"build-parcel": "parcel build rendered/index.html",
"build-parcel-no-optimize": "parcel build rendered/index.html
--no-optimize",
- "handle-parcel-output": "mv dist/* rendered/",
- "cleanup-parcel": "rm rendered/index.html"
+ "cleanup-parcel": "rm dist/index.html"
},
"private": true,
"devDependencies": {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-ops-www] branch master updated: use dist for handling output,
gnunet <=