touchui-create
Advanced tools
Comparing version 0.2.18 to 0.2.19
// 创建工程示例 | ||
var path = require('path') | ||
var textfile = require('textfile') | ||
var demo = { | ||
@@ -11,3 +12,3 @@ create(workSpace, callback) { | ||
if(typeof callback === 'function') { | ||
callback('当前目录已经存在项目,无法重复创建') | ||
callback('Project exists') | ||
} | ||
@@ -14,0 +15,0 @@ return |
@@ -6,2 +6,3 @@ | ||
var demo = require('./demo') | ||
var create = { | ||
@@ -8,0 +9,0 @@ has, |
// 识别为TouchUI工程 | ||
var path = require('path') | ||
function init(workSpace, callback) { | ||
@@ -38,3 +39,3 @@ var textfile = require('textfile') | ||
if(typeof callback === 'function') { | ||
callback('settings.json 格式错误') | ||
callback('settings.json Error') | ||
} | ||
@@ -41,0 +42,0 @@ } |
{ | ||
"name": "touchui-create", | ||
"version": "0.2.18", | ||
"version": "0.2.19", | ||
"description": "touchui-create", | ||
@@ -22,2 +22,2 @@ "main": "index.js", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
552570