浏览代码

.geninfo only saved if changed.

Mark Sibly 7 年之前
父节点
当前提交
1f55f8a613
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 1
      src/mx2cc/.mx2/test.monkey2
  2. 2 1
      src/mx2cc/geninfo/geninfo.monkey2

+ 1 - 1
src/mx2cc/.mx2/test.monkey2

@@ -5,7 +5,7 @@
 
 Using std..
 
-Function Test:Int()
+Function Testing:Int()
 	
 	Return 0
 End

+ 2 - 1
src/mx2cc/geninfo/geninfo.monkey2

@@ -23,7 +23,8 @@ Class GeninfoGenerator
 			Local json:=jobj.ToJson()
 			
 			CreateDir( ExtractDir( fdecl.gpath ) )
-			SaveString( json,fdecl.gpath )
+			
+			CSaveString( json,fdecl.gpath )
 		Next
 		
 	End