Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PublicShell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢卓城
PublicShell
Commits
bf0dcf4d
Commit
bf0dcf4d
authored
Dec 28, 2020
by
谢卓城
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复:gulp dev命令造成miniprogram_npm文件被删除的问题
parent
a0a2a913
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
MiniprogramTemplate.sh
MiniprogramTemplate.sh
+3
-4
No files found.
MiniprogramTemplate.sh
View file @
bf0dcf4d
...
...
@@ -85,7 +85,7 @@ npm run devBuild
echo
"########## 生成小程序miniprogram_npm包 ##########"
cd
package
ls
miniprogram-ci pack-npm-manually
--pack-npm-manually-package-json-path
./package.json
--pack-npm-manually-miniprogram-npm-dist-dir
../dist/
--appid
wx238862d8fac4ce23
miniprogram-ci pack-npm-manually
--pack-npm-manually-package-json-path
./package.json
--pack-npm-manually-miniprogram-npm-dist-dir
../dist/
cd
..
sysOS
=
`
uname
-s
`
...
...
@@ -110,6 +110,5 @@ fi
# 初始化 git
git init
echo
"########## 请自行运行npm run dev命令启动小程序实时服务 ##########"
# 因为gulp dev 会打断 生成miniprogram_mini 暂时手动启动小程序实时服务
# npm run dev
\ No newline at end of file
echo
"########## 启动小程序实时服务 ##########"
npm run dev
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment