Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
game-cli
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
劳工
game-cli
Commits
75c77533
Commit
75c77533
authored
Oct 19, 2018
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show git url
parent
ba00cb05
Pipeline
#72636
failed with stages
in 0 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1047 additions
and
1 deletion
+1047
-1
game-cli-init.js
bin/game-cli-init.js
+1
-0
package-lock.json
package-lock.json
+1046
-1
No files found.
bin/game-cli-init.js
View file @
75c77533
...
...
@@ -49,6 +49,7 @@ function prepareConfig() {
function
cloneTemplate
()
{
console
.
log
(
'Cloning template...'
);
const
url
=
program
.
repository
?
templateName
:
`git@gitlab2.dui88.com:laoqifeng/
${
templateName
}
.git`
;
console
.
log
(
'Cloning template from'
,
url
);
return
gitClone
(
url
,
projectName
).
then
(
()
=>
{
console
.
log
(
'Clone template success'
);
...
...
package-lock.json
View file @
75c77533
This diff is collapsed.
Click to expand it.
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