Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AIEngine
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zdx
OpenXG-AIEngine
Commits
18d0825c
Commit
18d0825c
authored
May 26, 2021
by
wangdng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
333a40d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
.electron-vue/build.js
.electron-vue/build.js
+9
-9
No files found.
.electron-vue/build.js
View file @
18d0825c
...
...
@@ -25,7 +25,7 @@ else build()
function
clean
()
{
del
.
sync
([
'
build/*
'
,
'
!build/icons
'
,
'
!build/icons/icon.*
'
])
//
console.log(`\n${doneLog}\n`)
console
.
log
(
`\n
${
doneLog
}
\n`
)
process
.
exit
()
}
...
...
@@ -44,8 +44,8 @@ function build () {
m
.
on
(
'
success
'
,
()
=>
{
process
.
stdout
.
write
(
'
\
x1B[2J
\
x1B[0f
'
)
//
console.log(`\n\n${results}`)
//
console.log(`${okayLog}take it away ${chalk.yellow('`electron-builder`')}\n`)
console
.
log
(
`\n\n
${
results
}
`
)
console
.
log
(
`
${
okayLog
}
take it away
${
chalk
.
yellow
(
'
`electron-builder`
'
)}
\n`
)
process
.
exit
()
})
...
...
@@ -54,7 +54,7 @@ function build () {
m
.
success
(
'
main
'
)
}).
catch
(
err
=>
{
m
.
error
(
'
main
'
)
//
console.log(`\n ${errorLog}failed to build main process`)
console
.
log
(
`\n
${
errorLog
}
failed to build main process`
)
console
.
error
(
`\n
${
err
}
\n`
)
process
.
exit
(
1
)
})
...
...
@@ -64,7 +64,7 @@ function build () {
m
.
success
(
'
renderer
'
)
}).
catch
(
err
=>
{
m
.
error
(
'
renderer
'
)
//
console.log(`\n ${errorLog}failed to build renderer process`)
console
.
log
(
`\n
${
errorLog
}
failed to build renderer process`
)
console
.
error
(
`\n
${
err
}
\n`
)
process
.
exit
(
1
)
})
...
...
@@ -102,9 +102,9 @@ function web () {
del
.
sync
([
'
dist/web/*
'
,
'
!.gitkeep
'
])
webConfig
.
mode
=
'
production
'
webpack
(
webConfig
,
(
err
,
stats
)
=>
{
if
(
err
||
stats
.
hasErrors
())
//
console.log(err)
if
(
err
||
stats
.
hasErrors
())
console
.
log
(
err
)
//
console.log(stats.toString({
console
.
log
(
stats
.
toString
({
chunks
:
false
,
colors
:
true
}))
...
...
@@ -127,6 +127,6 @@ function greeting () {
font
:
'
simple3d
'
,
space
:
false
})
}
else
//
console.log(chalk.yellow.bold('\n lets-build'))
//
console.log()
}
else
console
.
log
(
chalk
.
yellow
.
bold
(
'
\n
lets-build
'
))
console
.
log
()
}
\ 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