Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Clean up theia-endpoint-runtime directory structure #254

Merged
merged 2 commits into from
May 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion che-theia-init-sources.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sources:
- source: https://github.com/eclipse/che-theia
extensions:
- dockerfiles/theia-endpoint-runtime
- extensions/eclipse-che-theia-plugin-remote
- extensions/eclipse-che-theia-plugin
- extensions/eclipse-che-theia-plugin-ext
- extensions/eclipse-che-theia-terminal
Expand Down
2 changes: 0 additions & 2 deletions dockerfiles/theia-endpoint-runtime/.gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
theia-plugin-ext
docker-build
node_modules
.browser_modules
lib
*.log
*-app/*
!*-app/package.json
Expand Down
8 changes: 4 additions & 4 deletions dockerfiles/theia-endpoint-runtime/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ ADD https://${GITHUB_TOKEN}:x-oauth-basic@api.github.com/repos/theia-ide/theia/g
ADD https://${GITHUB_TOKEN}:x-oauth-basic@api.github.com/repos/eclipse/che-theia/git/refs/head /tmp/branch_info.json

# Grab dependencies
COPY /package.json /home/workspace/packages/theia-remote/
COPY /docker-build/theia-plugin-remote/package.json /home/workspace/packages/theia-remote/
RUN cd /home/workspace/packages/theia-remote/ && yarn install --ignore-scripts

# Compile
COPY /docker-build/configs /home/workspace/configs
COPY *.json /home/workspace/packages/theia-remote/
COPY /src /home/workspace/packages/theia-remote/src
COPY /docker-build/theia-plugin-remote/*.json /home/workspace/packages/theia-remote/
COPY /docker-build/theia-plugin-remote/src /home/workspace/packages/theia-remote/src
COPY /docker-build/theia-plugin-ext /home/workspace/packages/theia-plugin-ext
COPY /docker-build/theia-plugin /home/workspace/packages/theia-plugin
COPY /tsconfig.json /home/workspace/packages/theia-plugin/tsconfig.json
COPY /docker-build/theia-plugin-remote/tsconfig.json /home/workspace/packages/theia-plugin/tsconfig.json

COPY /etc/package.json /home/workspace
RUN cd /home/workspace/ && yarn install
Expand Down
6 changes: 6 additions & 0 deletions dockerfiles/theia-endpoint-runtime/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ cp -r "${base_dir}/../../extensions/eclipse-che-theia-plugin-ext/webpack.config.
echo "Copying ${base_dir}/../../configs --> ${LOCAL_ASSEMBLY_DIR}/configs"
cp -r "${base_dir}/../../configs/." "${LOCAL_ASSEMBLY_DIR}/configs"

echo "Copying ${base_dir}/../../extensions/eclipse-che-theia-plugin-remote --> ${LOCAL_ASSEMBLY_DIR}/theia-plugin-remote"
mkdir ${LOCAL_ASSEMBLY_DIR}/theia-plugin-remote
cp -r "${base_dir}/../../extensions/eclipse-che-theia-plugin-remote/src/." "${LOCAL_ASSEMBLY_DIR}/theia-plugin-remote/src/"
cp -r "${base_dir}/../../extensions/eclipse-che-theia-plugin-remote/package.json" "${LOCAL_ASSEMBLY_DIR}/theia-plugin-remote"
cp -r "${base_dir}/../../extensions/eclipse-che-theia-plugin-remote/tsconfig.json" "${LOCAL_ASSEMBLY_DIR}/theia-plugin-remote"


init --name:theia-endpoint-runtime "$@"
build
34 changes: 0 additions & 34 deletions dockerfiles/theia-endpoint-runtime/package.json

This file was deleted.

96 changes: 0 additions & 96 deletions dockerfiles/theia-endpoint-runtime/src/node/dummy-trace-logger.ts

This file was deleted.

180 changes: 0 additions & 180 deletions dockerfiles/theia-endpoint-runtime/src/node/hosted-plugin-remote.ts

This file was deleted.

Loading