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

Commit

Permalink
feat: integrate s cli
Browse files Browse the repository at this point in the history
  • Loading branch information
imaegoo committed Jul 21, 2022
1 parent 50480fe commit 728c17b
Show file tree
Hide file tree
Showing 9 changed files with 6,113 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'
cache: 'maven'
- run: cd src/ && sh ./build.sh && sh ./pre-publish.sh
- run: npm i -g @serverless-devs/s
- run: s cli registry login --token ${{ secrets.ALIBABA_REGISTRY_PUBLISH_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ ide-plugins-1/
ide-plugins-2/
ide-plugins-3/
ide-server/
node_modules/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
1. 默认示例使用的 VSCode 难以胜任 Java 等语言开发场景。
1. TODO: 虚拟机级别的多租安全隔离。
1. TODO: 配置同步、代码同步。
1. TODO: 集成 CLI 等常用 FC 开发工具,支持快速开发和测试 FC Java runtime 函数。
1. 集成 CLI 等常用 FC 开发工具,支持快速开发和测试 FC Java runtime 函数。

## 使用说明

Expand Down
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.4
Version: 0.0.5
Provider:
- 阿里云
Description: 基于 custom 运行时的 idea 版本的 serverless webide
Expand Down
6 changes: 5 additions & 1 deletion src/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/sh
set -x
echo "installing serverless cli"
cd js
npm install
cd ..
echo "creating temp folder"
rm -rf ./.temp/
mkdir -p .temp
Expand All @@ -12,7 +16,7 @@ echo "unpacking projector-server"
unzip projector-server-v1.8.1.zip
echo "unpacking idea"
tar -xzf ideaIC-2021.3.2.tar.gz
# Android 插件插件体积太大,并且绝大多数开发场景用不到,移除之
# Android 插件体积太大,并且绝大多数开发场景用不到,移除之
rm -rf ./idea-IC-213.6777.52/plugins/android/
echo "removing existing files"
rm -rf ../ide-jbr/
Expand Down
Loading

0 comments on commit 728c17b

Please sign in to comment.