Commit 22d50795 authored by Laurent Wouters's avatar Laurent Wouters
Browse files

[fix] Packaging the extension

parent 0134e1841565
......@@ -2,6 +2,6 @@ FROM buildpack-deps:18.04-curl
LABEL maintainer="Laurent Wouters <lwouters@cenotelie.fr>" vendor="Logilab SA" description="Build environment for the CubicWeb Linked Data Browser"
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y --no-install-recommends \
build-essential mercurial nodejs
build-essential zip mercurial nodejs
RUN mkdir /npm
RUN chmod -R a+rwX /npm
\ No newline at end of file
......@@ -34,3 +34,4 @@ echo "=========================================="
(cd "$ROOT/extension"; rm -rf node_modules/@logilab/libview)
(cd "$ROOT/extension"; npm install)
(cd "$ROOT/extension"; npm run build)
(cd "$ROOT/extension/build"; zip -r -FS ld-browser-extension.zip *)
\ No newline at end of file
......@@ -38,7 +38,6 @@
"copy-webpack-plugin": "^4.5.2",
"source-map-loader": "^0.2.3",
"typescript": "^2.9.2",
"web-ext": "^2.7.0",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.1",
"webpack-dev-server": "^3.0.0"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment