Score
0
Watch 137 Star 686 Fork 137

百度开源 / amisTypeScript

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
build.sh 385 Bytes
Copy Edit Raw Blame History
2betop authored 2020-10-26 20:05 . 把 beta 改成内部版本
#!/bin/bash
set -e
rm -rf lib
rm -rf output
fis3 release publish -c
rm -rf lib/node_modules
# 生成 sdk
rm -rf sdk && fis3 release publish-sdk -c
# 生成 .d.ts 文件
./node_modules/.bin/tsc --allowJs --declaration
cd output
for f in $(find . -name "*.d.ts"); do
mkdir -p ../lib/$(dirname $f) && mv $f ../lib/$(dirname $f)
done
cd ..
rm -rf output
npm run build-schemas

Comment ( 0 )

Sign in for post a comment