Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_42566577
o2oa
提交
7f2a9da0
o2oa
项目概览
weixin_42566577
/
o2oa
与 Fork 源项目一致
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7f2a9da0
编写于
4月 08, 2020
作者:
T
tangxl
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
'打包内容修改,修改了package.json,添加build_ci方式,增加build.xml文件,修改gulpfile.js文件的downloadHost'
上级
b2ce8e5c
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
381 addition
and
3 deletion
+381
-3
build.xml
build.xml
+370
-0
gulpfile.js
gulpfile.js
+2
-2
package.json
package.json
+9
-1
未找到文件。
build.xml
0 → 100644
浏览文件 @
7f2a9da0
<?xml version="1.0" encoding="UTF-8"?>
<project
basedir=
"."
name=
"main"
default=
"default"
>
<property
name=
"VERSION"
value=
"4.3.6"
/>
<property
name=
"targetdir"
value=
"target"
/>
<target
name=
"default"
depends=
"md5code"
/>
<target
name=
"md5code"
depends=
"default_zip"
>
<checksum
file=
"o2server-windows-${VERSION}.zip"
property=
"build_win.sha"
algorithm=
"SHA-256"
/>
<length
file=
"o2server-windows-${VERSION}.zip"
property=
"length_win"
/>
<script
language=
"javascript"
>
<![CDATA[
var length_win_bytes = project.getProperty("length_win");
var length_win_kbytes = Math.round((length_win_bytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
var length_win_mbytes = Math.round((length_win_kbytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
project.setNewProperty("length_win_mb", length_win_mbytes);
]]>
</script>
<checksum
file=
"o2server-linux-${VERSION}.zip"
property=
"build_linux.sha"
algorithm=
"SHA-256"
/>
<length
file=
"o2server-linux-${VERSION}.zip"
property=
"length_linux"
/>
<script
language=
"javascript"
>
<![CDATA[
var length_linux_bytes = project.getProperty("length_linux");
var length_linux_kbytes = Math.round((length_linux_bytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
var length_linux_mbytes = Math.round((length_linux_kbytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
project.setNewProperty("length_linux_mb", length_linux_mbytes);
]]>
</script>
<checksum
file=
"o2server-macos-${VERSION}.zip"
property=
"build_macos.sha"
algorithm=
"SHA-256"
/>
<length
file=
"o2server-macos-${VERSION}.zip"
property=
"length_macos"
/>
<script
language=
"javascript"
>
<![CDATA[
var length_macos_bytes = project.getProperty("length_macos");
var length_macos_kbytes = Math.round((length_macos_bytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
var length_macos_mbytes = Math.round((length_macos_kbytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
project.setNewProperty("length_macos_mb", length_macos_mbytes);
]]>
</script>
<checksum
file=
"o2server-aix-${VERSION}.zip"
property=
"build_aix.sha"
algorithm=
"SHA-256"
/>
<length
file=
"o2server-aix-${VERSION}.zip"
property=
"length_aix"
/>
<script
language=
"javascript"
>
<![CDATA[
var length_aix_bytes = project.getProperty("length_aix");
var length_aix_kbytes = Math.round((length_aix_bytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
var length_aix_mbytes = Math.round((length_aix_kbytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
project.setNewProperty("length_aix_mb", length_aix_mbytes);
]]>
</script>
<checksum
file=
"o2server-raspberrypi-${VERSION}.zip"
property=
"build_raspberrypi.sha"
algorithm=
"SHA-256"
/>
<length
file=
"o2server-raspberrypi-${VERSION}.zip"
property=
"length_raspberrypi"
/>
<script
language=
"javascript"
>
<![CDATA[
var length_raspberrypi_bytes = project.getProperty("length_raspberrypi");
var length_raspberrypi_kbytes = Math.round((length_raspberrypi_bytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
var length_raspberrypi_mbytes = Math.round((length_raspberrypi_kbytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
project.setNewProperty("length_raspberrypi_mb", length_raspberrypi_mbytes);
]]>
</script>
<checksum
file=
"o2server-neokylin-loongson-${VERSION}.zip"
property=
"build_neokylin-loongson.sha"
algorithm=
"SHA-256"
/>
<length
file=
"o2server-neokylin-loongson-${VERSION}.zip"
property=
"length_neokylin-loongson"
/>
<script
language=
"javascript"
>
<![CDATA[
var length_neokylin_loongson_bytes = project.getProperty("length_neokylin-loongson");
var length_neokylin_loongson_kbytes = Math.round((length_neokylin_loongson_bytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
var length_neokylin_loongson_mbytes = Math.round((length_neokylin_loongson_kbytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
project.setNewProperty("length_neokylin-loongson_mb", length_neokylin_loongson_mbytes);
]]>
</script>
<checksum
file=
"o2server-kylinos-phytium-${VERSION}.zip"
property=
"build_kylinos_phytium.sha"
algorithm=
"SHA-256"
/>
<length
file=
"o2server-kylinos-phytium-${VERSION}.zip"
property=
"length_kylinos_phytium"
/>
<script
language=
"javascript"
>
<![CDATA[
var length_kylinos_phytium_bytes = project.getProperty("length_kylinos_phytium");
var length_kylinos_phytium_kbytes = Math.round((length_kylinos_phytium_bytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
var length_kylinos_phytium_mbytes = Math.round((length_kylinos_phytium_kbytes / 1024) * Math.pow(10,2))/ Math.pow(10,2);
project.setNewProperty("length_kylinos_phytium_mb", length_kylinos_phytium_mbytes);
]]>
</script>
<tstamp>
<format
property=
"TODAY"
pattern=
"yyyy-MM-dd HH:mm:ss"
/>
</tstamp>
<echo
file=
"download_preview.jsonp"
>
callback(
{
"windows": {
"system": "windows",
"name": "o2server-windows-${VERSION}",
"fileName": "o2server-windows-${VERSION}.zip",
"fileSize": "${length_win_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-windows-${VERSION}.zip",
"sha256": "${build_win.sha}"
},
"linux": {
"system": "linux",
"name": "o2server-linux-${VERSION}",
"fileName": "o2server-linux-${VERSION}.zip",
"fileSize": "${length_linux_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-linux-${VERSION}.zip",
"sha256": "${build_linux.sha}"
},
"macos": {
"system": "macos",
"name": "o2server-macos-${VERSION}",
"fileName": "o2server-macos-${VERSION}.zip",
"fileSize": "${length_macos_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-macos-${VERSION}.zip",
"sha256": "${build_macos.sha}"
},
"aix": {
"system": "aix",
"name": "o2server-aix-${VERSION}",
"fileName": "o2server-aix-${VERSION}.zip",
"fileSize": "${length_aix_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-aix-${VERSION}.zip",
"sha256": "${build_aix.sha}"
},
"raspberrypi": {
"system": "raspberrypi",
"name": "o2server-raspberrypi-${VERSION}",
"fileName": "o2server-raspberrypi-${VERSION}.zip",
"fileSize": "${length_raspberrypi_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-raspberrypi-${VERSION}.zip",
"sha256": "${build_raspberrypi.sha}"
},
"neokylin_loongson": {
"system": "neokylin_loongson",
"name": "o2server-neokylin-loongson-${VERSION}",
"fileName": "o2server-neokylin-loongson-${VERSION}.zip",
"fileSize": "${length_neokylin-loongson_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-neokylin-loongson-${VERSION}.zip",
"sha256": "${build_neokylin-loongson.sha}"
},
"kylinos_phytium": {
"system": "kylinos_phytium",
"name": "o2server-kylinos-phytium-${VERSION}",
"fileName": "o2server-kylinos-phytium-${VERSION}.zip",
"fileSize": "${length_kylinos_phytium_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-kylinos-phytium-${VERSION}.zip",
"sha256": "${build_kylinos_phytium.sha}"
},
"jvm_windows": {}
}
)
</echo>
<echo
file=
"download-pro.json"
>
{
"title": "O2OA V${VERSION}",
"publishTime": "${TODAY}",
"windows": {
"system": "windows",
"name": "o2server-windows-${VERSION}",
"fileName": "o2server-windows-${VERSION}.zip",
"fileSize": "${length_win_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-windows-${VERSION}.zip",
"sha256": "${build_win.sha}"
},
"linux": {
"system": "linux",
"name": "o2server-linux-${VERSION}",
"fileName": "o2server-linux-${VERSION}.zip",
"fileSize": "${length_linux_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-linux-${VERSION}.zip",
"sha256": "${build_linux.sha}"
},
"macos": {
"system": "macos",
"name": "o2server-macos-${VERSION}",
"fileName": "o2server-macos-${VERSION}.zip",
"fileSize": "${length_macos_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-macos-${VERSION}.zip",
"sha256": "${build_macos.sha}"
},
"aix": {
"system": "aix",
"name": "o2server-aix-${VERSION}",
"fileName": "o2server-aix-${VERSION}.zip",
"fileSize": "${length_aix_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-aix-${VERSION}.zip",
"sha256": "${build_aix.sha}"
},
"raspberrypi": {
"system": "raspberrypi",
"name": "o2server-raspberrypi-${VERSION}",
"fileName": "o2server-raspberrypi-${VERSION}.zip",
"fileSize": "${length_raspberrypi_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-raspberrypi-${VERSION}.zip",
"sha256": "${build_raspberrypi.sha}"
},
"neokylin_loongson": {
"system": "neokylin_loongson",
"name": "o2server-neokylin-loongson-${VERSION}",
"fileName": "o2server-neokylin-loongson-${VERSION}.zip",
"fileSize": "${length_neokylin-loongson_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-neokylin-loongson-${VERSION}.zip",
"sha256": "${build_neokylin-loongson.sha}"
},
"kylinos_phytium": {
"system": "kylinos_phytium",
"name": "o2server-kylinos-phytium-${VERSION}",
"fileName": "o2server-kylinos-phytium-${VERSION}.zip",
"fileSize": "${length_kylinos_phytium_mb}MB",
"updateTime": "${TODAY}",
"url": "/download/o2server-kylinos-phytium-${VERSION}.zip",
"sha256": "${build_kylinos_phytium.sha}"
},
"source":{
"name":"o2oa-master",
"updateTime":"${TODAY}",
"fileSize":"990MB",
"url":"https://github.com/o2oa/o2oa"
}
}
</echo>
</target>
<target
name=
"default_zip"
depends=
"version_o2,zip_windows,zip_linux,zip_macos,zip_aix,zip_raspberrypi,zip_neokylin_loongson,zip_kylinos_phytium"
/>
<target
name=
"version_o2"
>
<tstamp>
<format
property=
"TODAY"
pattern=
"yyyy-MM-dd HH:mm:ss"
/>
</tstamp>
<echo
file=
"${targetdir}/version.o2"
>
{"version":"${VERSION}","date":"${TODAY}"}
</echo>
</target>
<target
name=
"zip_windows"
>
<zip
encoding=
"utf-8"
destfile=
"o2server-windows-${VERSION}.zip"
update=
"false"
>
<zipfileset
dir=
"${targetdir}/o2server"
filemode=
"777"
dirmode=
"777"
encoding=
"utf-8"
prefix=
"o2server"
>
<include
name=
"commons/"
/>
<include
name=
"configSample/"
/>
<include
name=
"localSample/"
/>
<include
name=
"servers/"
/>
<include
name=
"store/"
/>
<include
name=
"console.jar"
/>
<include
name=
"index.html"
/>
<include
name=
"version.o2"
/>
<include
name=
"console.jar"
/>
<include
name=
"jvm/windows/"
/>
<include
name=
"service_windows.bat"
/>
<include
name=
"start_windows.bat"
/>
<include
name=
"start_windows_debug.bat"
/>
<include
name=
"console_windows.bat"
/>
<include
name=
"stop_windows.bat"
/>
</zipfileset>
</zip>
</target>
<target
name=
"zip_linux"
>
<zip
encoding=
"utf-8"
destfile=
"o2server-linux-${VERSION}.zip"
update=
"false"
>
<zipfileset
dir=
"${targetdir}/o2server"
filemode=
"777"
dirmode=
"777"
encoding=
"utf-8"
prefix=
"o2server"
>
<include
name=
"commons/"
/>
<include
name=
"configSample/"
/>
<include
name=
"localSample/"
/>
<include
name=
"servers/"
/>
<include
name=
"store/"
/>
<include
name=
"console.jar"
/>
<include
name=
"index.html"
/>
<include
name=
"version.o2"
/>
<include
name=
"console.jar"
/>
<include
name=
"jvm/linux/"
/>
<include
name=
"start_linux.sh"
/>
<include
name=
"start_linux_debug.sh"
/>
<include
name=
"console_linux.sh"
/>
<include
name=
"stop_linux.sh"
/>
</zipfileset>
</zip>
</target>
<target
name=
"zip_macos"
>
<zip
encoding=
"utf-8"
destfile=
"o2server-macos-${VERSION}.zip"
update=
"false"
>
<zipfileset
dir=
"${targetdir}/o2server"
filemode=
"777"
dirmode=
"777"
encoding=
"utf-8"
prefix=
"o2server"
>
<include
name=
"commons/"
/>
<include
name=
"configSample/"
/>
<include
name=
"localSample/"
/>
<include
name=
"servers/"
/>
<include
name=
"store/"
/>
<include
name=
"console.jar"
/>
<include
name=
"index.html"
/>
<include
name=
"version.o2"
/>
<include
name=
"console.jar"
/>
<include
name=
"jvm/macos/"
/>
<include
name=
"start_macos.sh"
/>
<include
name=
"start_macos_debug.sh"
/>
<include
name=
"console_macos.sh"
/>
<include
name=
"stop_macos.sh"
/>
</zipfileset>
</zip>
</target>
<target
name=
"zip_aix"
>
<zip
encoding=
"utf-8"
destfile=
"o2server-aix-${VERSION}.zip"
update=
"false"
>
<zipfileset
dir=
"${targetdir}/o2server"
filemode=
"777"
dirmode=
"777"
encoding=
"utf-8"
prefix=
"o2server"
>
<include
name=
"commons/"
/>
<include
name=
"configSample/"
/>
<include
name=
"localSample/"
/>
<include
name=
"servers/"
/>
<include
name=
"store/"
/>
<include
name=
"console.jar"
/>
<include
name=
"index.html"
/>
<include
name=
"version.o2"
/>
<include
name=
"console.jar"
/>
<include
name=
"jvm/aix/"
/>
<include
name=
"start_aix.sh"
/>
<include
name=
"start_aix_debug.sh"
/>
<include
name=
"console_aix.sh"
/>
<include
name=
"stop_aix.sh"
/>
</zipfileset>
</zip>
</target>
<target
name=
"zip_raspberrypi"
>
<zip
encoding=
"utf-8"
destfile=
"o2server-raspberrypi-${VERSION}.zip"
update=
"false"
>
<zipfileset
dir=
"${targetdir}/o2server"
filemode=
"777"
dirmode=
"777"
encoding=
"utf-8"
prefix=
"o2server"
>
<include
name=
"commons/"
/>
<include
name=
"configSample/"
/>
<include
name=
"localSample/"
/>
<include
name=
"servers/"
/>
<include
name=
"store/"
/>
<include
name=
"console.jar"
/>
<include
name=
"index.html"
/>
<include
name=
"version.o2"
/>
<include
name=
"console.jar"
/>
<include
name=
"jvm/raspberrypi/"
/>
<include
name=
"start_raspberrypi.sh"
/>
<include
name=
"start_raspberrypi_debug.sh"
/>
<include
name=
"console_raspberrypi.sh"
/>
<include
name=
"stop_raspberrypi.sh"
/>
</zipfileset>
</zip>
</target>
<target
name=
"zip_neokylin_loongson"
>
<zip
encoding=
"utf-8"
destfile=
"o2server-neokylin-loongson-${VERSION}.zip"
update=
"false"
>
<zipfileset
dir=
"${targetdir}/o2server"
filemode=
"777"
dirmode=
"777"
encoding=
"utf-8"
prefix=
"o2server"
>
<include
name=
"commons/"
/>
<include
name=
"configSample/"
/>
<include
name=
"localSample/"
/>
<include
name=
"servers/"
/>
<include
name=
"store/"
/>
<include
name=
"console.jar"
/>
<include
name=
"index.html"
/>
<include
name=
"version.o2"
/>
<include
name=
"console.jar"
/>
<include
name=
"jvm/neokylin_loongson/"
/>
<include
name=
"start_neokylin_loongson.sh"
/>
<include
name=
"start_neokylin_loongson_debug.sh"
/>
<include
name=
"console_neokylin_loongson.sh"
/>
<include
name=
"stop_neokylin_loongson.sh"
/>
</zipfileset>
</zip>
</target>
<target
name=
"zip_kylinos_phytium"
>
<zip
encoding=
"utf-8"
destfile=
"o2server-kylinos-phytium-${VERSION}.zip"
update=
"false"
>
<zipfileset
dir=
"${targetdir}/o2server"
filemode=
"777"
dirmode=
"777"
encoding=
"utf-8"
prefix=
"o2server"
>
<include
name=
"commons/"
/>
<include
name=
"configSample/"
/>
<include
name=
"localSample/"
/>
<include
name=
"servers/"
/>
<include
name=
"store/"
/>
<include
name=
"console.jar"
/>
<include
name=
"index.html"
/>
<include
name=
"version.o2"
/>
<include
name=
"console.jar"
/>
<include
name=
"jvm/kylinos_phytium/"
/>
<include
name=
"start_kylinos_phytium.sh"
/>
<include
name=
"start_kylinos_phytium_debug.sh"
/>
<include
name=
"console_kylinos_phytium.sh"
/>
<include
name=
"stop_kylinos_phytium.sh"
/>
</zipfileset>
</zip>
</target>
</project>
\ No newline at end of file
gulpfile.js
浏览文件 @
7f2a9da0
...
...
@@ -16,8 +16,8 @@ var gulp = require('gulp'),
var
fg
=
require
(
'
fast-glob
'
);
var
logger
=
require
(
'
gulp-logger
'
);
//
var downloadHost = "download.o2oa.net";
var
downloadHost
=
"
release.o2oa.net
"
;
var
downloadHost
=
"
download.o2oa.net
"
;
//
var downloadHost = "release.o2oa.net";
var
protocol
=
"
http
"
;
var
commonUrl
=
"
/build/commons.tar.gz
"
;
...
...
package.json
浏览文件 @
7f2a9da0
...
...
@@ -34,7 +34,15 @@
"build:macos"
:
"npm run clear && npm run preperation:macos && npm run build_parallel && npm run deploy:macos && npm run typeInfor"
,
"build:neokylin"
:
"npm run clear && npm run preperation:neokylin && npm run build_parallel && npm run deploy:neokylin && npm run typeInfor"
,
"build:rpi"
:
"npm run clear && npm run preperation:rpi && npm run build_parallel && npm run deploy:rpi && npm run typeInfor"
,
"test"
:
"type welcome"
"build_ci"
:
"npm run clear && npm run preperation && npm run build_parallel && npm run deploy && npm run typeInfor"
,
"build_ci:win"
:
"npm run clear && npm run preperation:win && npm run build_parallel && npm run deploy:win && npm run typeInfor"
,
"build_ci:linux"
:
"npm run clear && npm run preperation:linux && npm run build_parallel && npm run deploy:linux && npm run typeInfor"
,
"build_ci:aix"
:
"npm run clear && npm run preperation:aix && npm run build_parallel && npm run deploy:aix && npm run typeInfor"
,
"build_ci:kylinos"
:
"npm run clear && npm run preperation:kylinos && npm run build_parallel && npm run deploy:kylinos && npm run typeInfor"
,
"build_ci:macos"
:
"npm run clear && npm run preperation:macos && npm run build_parallel && npm run deploy:macos && npm run typeInfor"
,
"build_ci:neokylin"
:
"npm run clear && npm run preperation:neokylin && npm run build_parallel && npm run deploy:neokylin && npm run typeInfor"
,
"build_ci:rpi"
:
"npm run clear && npm run preperation:rpi && npm run build_parallel && npm run deploy:rpi && npm run typeInfor"
,
"test"
:
"type welcome"
},
"repository"
:
{
"type"
:
"git"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录