Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
static-ci
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
aeb339457590a796770f9883039f6de2d237664d
1 parent
8095becf
ci bug & port
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/ci/build.js
config/config.js
apps/ci/build.js
View file @
aeb3394
...
...
@@ -156,7 +156,7 @@ class Build {
sh
.
cd
(
self
.
codePath
);
var
child
=
sh
.
exec
(
'npm i
--only=dev
'
,
{
var
child
=
sh
.
exec
(
'npm i'
,
{
silent
:
self
.
silent
,
async
:
true
});
...
...
config/config.js
View file @
aeb3394
...
...
@@ -5,7 +5,7 @@ import path from 'path';
const
env
=
process
.
env
.
NODE_ENV
||
'development'
;
const
defaults
=
{
port
:
9000
,
port
:
6006
,
codeDir
:
path
.
normalize
(
__dirname
+
'/../code/'
),
// 代码位置
buildDir
:
path
.
normalize
(
__dirname
+
'/../packages/'
),
// 静态资源包位置
dbDir
:
path
.
normalize
(
__dirname
+
'/../db'
),
...
...
Please
register
or
login
to post a comment