Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DARIAH-DE
Geo-Browser
Commits
6a910d80
Commit
6a910d80
authored
Nov 05, 2021
by
malzer
Browse files
Create symlinks in gitlab-ci.yml
parent
c9dd7316
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6a910d80
...
...
@@ -57,6 +57,10 @@ build_dev:
-
VERSION=$(node -p "require('./package.json').version")
-
echo "VERSION=${VERSION}" >> build.env
-
npm run build:beta
-
cd dist
-
ln -s PLATIN/php php
-
ln -s PLATIN/data data
-
cd embed && ln -s ../php php
artifacts
:
paths
:
-
dist/
...
...
webpack.config.js
View file @
6a910d80
...
...
@@ -2,6 +2,9 @@ const path = require('path');
const
glob
=
require
(
"
glob
"
);
const
CopyWebpackPlugin
=
require
(
'
copy-webpack-plugin
'
);
module
.
exports
=
{
resolve
:
{
symlinks
:
false
},
module
:
{
rules
:
[
{
...
...
@@ -11,7 +14,7 @@ module.exports = {
],
},
entry
:
{
entry
:
{
"
main
"
:
[
'
./js/dariah.geobro.conf.js
'
,
'
./js/sessionStorageWrapper.js
'
,
'
./js/matomo.js
'
,
'
./edit/js/dariah.utils.js
'
,
'
./edit/js/dariah.workflow.conf.js
'
,
'
./edit/js/dariah.storage.js
'
,
'
./js/dariah.geobro.js
'
],
...
...
@@ -31,9 +34,12 @@ entry: {
{
from
:
"
./PLATIN/lib
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/PLATIN/lib
'
)
},
{
from
:
"
./PLATIN/data
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/PLATIN/data
'
)
},
{
from
:
"
./PLATIN/images
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/PLATIN/images
'
)
},
{
from
:
"
./php
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/php
'
)
},
{
from
:
"
./PLATIN/images
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/PLATIN/images
'
)
},
{
from
:
"
./PLATIN/php
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/PLATIN/php
'
)
},
// { from: "./embed/php", to: path.join(__dirname, './dist/embed/php') },
// { from: "./php", to: path.join(__dirname, './dist/php') },
{
from
:
"
./docs/_build/html
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/doc
'
)
},
{
from
:
"
./data
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/data
'
)
},
//
{ from: "./data", to: path.
join
(__dirname, './dist/data') },
{
from
:
"
./css
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/css
'
)
},
{
from
:
"
./edit/css
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/edit/css
'
)
},
{
from
:
"
./edit/img
"
,
to
:
path
.
resolve
(
__dirname
,
'
./dist/edit/img
'
)
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment