Commit 0603830e authored by Xavier Thompson's avatar Xavier Thompson

software/theia: Install theia_open from sources

parent 009e023e
...@@ -164,15 +164,25 @@ stop-on-error = true ...@@ -164,15 +164,25 @@ stop-on-error = true
[python-language-server-requirements.txt] [python-language-server-requirements.txt]
<= template-base <= template-base
[theia_open]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/xavier_thompson/theia_open.git
branch = master
git-executable = ${git:location}/bin/git
[theia] [theia]
recipe = plone.recipe.command recipe = plone.recipe.command
command = ${bash:location}/bin/bash -c " command = ${bash:location}/bin/bash -c "
export TMPDIR=${:location}/tmp PATH=${nodejs:location}/bin:$PATH && export TMPDIR=${:location}/tmp PATH=${nodejs:location}/bin:$PATH &&
mkdir -p ${:location} && \ mkdir -p ${:location} && \
mkdir -p \$TMPDIR && \ mkdir -p \$TMPDIR && \
cd ${theia_open:location}/theia-open && \
${yarn:location}/bin/yarn && \
${yarn:location}/bin/yarn run clean && \
${yarn:location}/bin/yarn run build && \
cd ${:location} && \ cd ${:location} && \
cp ${package.json:rendered} . && cp ${package.json:rendered} . &&
cp ${yarn.lock:output} . && ${yarn:location}/bin/yarn add ${theia_open:location}/theia-open && \
${yarn:location}/bin/yarn && \ ${yarn:location}/bin/yarn && \
${yarn:location}/bin/yarn theia build" ${yarn:location}/bin/yarn theia build"
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = ${buildout:parts-directory}/${:_buildout_section_name_}
...@@ -282,8 +292,7 @@ template = ...@@ -282,8 +292,7 @@ template =
"@theia/userstorage": "latest", "@theia/userstorage": "latest",
"@theia/variable-resolver": "latest", "@theia/variable-resolver": "latest",
"@theia/vsx-registry": "latest", "@theia/vsx-registry": "latest",
"@theia/workspace": "latest", "@theia/workspace": "latest"
"@perrinjerome/theia-open": "0.1.2"
}, },
"devDependencies": { "devDependencies": {
"@theia/cli": "latest" "@theia/cli": "latest"
......
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