Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
feat: integrate maven
Browse files Browse the repository at this point in the history
  • Loading branch information
imaegoo committed Aug 16, 2022
1 parent dd9c671 commit 473d383
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ ide-plugins-2/
ide-plugins-3/
ide-server/
node_modules/
src/maven/
2 changes: 1 addition & 1 deletion publish.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Type: Application
Name: idea-webide
Version: 0.0.26
Version: 0.0.27
Provider:
- 阿里云
Description: 基于 custom 运行时的 idea 版本的 serverless webide
Expand Down
7 changes: 7 additions & 0 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ echo "installing serverless cli"
cd js
npm install
cd ..
echo "installing maven"
mkdir -p maven
cd maven
curl -LO https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz
tar -xzf apache-maven-3.8.6-bin.tar.gz
rm -f apache-maven-3.8.6-bin.tar.gz
cd ..
echo "creating temp folder"
rm -rf ./.temp/
mkdir -p .temp
Expand Down
2 changes: 1 addition & 1 deletion src/s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ services:
codeUri: .
environmentVariables:
PATH: >-
/code/js/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
/code/maven/apache-maven-3.8.6/bin:/code/js/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
OSS_BUCKET_NAME: "{{ ossBucket }}"
TZ: "{{ timeZone }}"
customRuntimeConfig:
Expand Down

0 comments on commit 473d383

Please sign in to comment.