Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Unity
提交
c1bc32dc
T
Third Party Unity
项目概览
OpenHarmony
/
Third Party Unity
9 个月 前同步成功
通知
29
Star
144
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Unity
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c1bc32dc
编写于
6月 25, 2017
作者:
M
Mark VanderVoord
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- Generator will not change names by default
- Fixed some style issues.
上级
3b69beaa
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
10 deletion
+10
-10
auto/colour_prompt.rb
auto/colour_prompt.rb
+1
-1
auto/generate_module.rb
auto/generate_module.rb
+3
-3
auto/stylize_as_junit.rb
auto/stylize_as_junit.rb
+0
-0
examples/example_3/rakefile.rb
examples/example_3/rakefile.rb
+2
-2
extras/fixture/rakefile.rb
extras/fixture/rakefile.rb
+4
-4
未找到文件。
auto/colour_prompt.rb
浏览文件 @
c1bc32dc
...
...
@@ -24,7 +24,7 @@ class ColourCommandLine
return
unless
RUBY_PLATFORM
=~
/(win|w)32$/
get_std_handle
=
Win32API
.
new
(
'kernel32'
,
'GetStdHandle'
,
[
'L'
],
'L'
)
@set_console_txt_attrb
=
Win32API
.
new
(
'kernel32'
,
'SetConsoleTextAttribute'
,
%w
(L N)
,
'I'
)
Win32API
.
new
(
'kernel32'
,
'SetConsoleTextAttribute'
,
%w
[L N]
,
'I'
)
@hout
=
get_std_handle
.
call
(
-
11
)
end
...
...
auto/generate_module.rb
浏览文件 @
c1bc32dc
...
...
@@ -172,7 +172,7 @@ class UnityModuleGenerator
when
'camel'
then
part1
when
'snake'
then
part1
.
downcase
when
'caps'
then
part1
.
upcase
else
part1
.
downcase
else
part1
end
else
case
(
@options
[
:naming
])
...
...
@@ -180,7 +180,7 @@ class UnityModuleGenerator
when
'camel'
then
part1
+
part2
when
'snake'
then
part1
.
downcase
+
'_'
+
part2
.
downcase
when
'caps'
then
part1
.
upcase
+
'_'
+
part2
.
upcase
else
part1
.
downcase
+
'_'
+
part2
.
downcase
else
part1
+
'_'
+
part2
end
end
end
...
...
@@ -290,7 +290,7 @@ if $0 == __FILE__
' -n"camel" sets the file naming convention.'
,
' bumpy - BumpyCaseFilenames.'
,
' camel - camelCaseFilenames.'
,
' snake - snake_case_filenames.
(DEFAULT)
'
,
' snake - snake_case_filenames.'
,
' caps - CAPS_CASE_FILENAMES.'
,
' -u update subversion too (requires subversion command line)'
,
' -y"my.yml" selects a different yaml config file for module generation'
,
...
...
auto/stylize_as_junit.rb
100644 → 100755
浏览文件 @
c1bc32dc
文件模式从 100644 更改为 100755
examples/example_3/rakefile.rb
浏览文件 @
c1bc32dc
...
...
@@ -32,8 +32,8 @@ task :summary do
end
desc
'Build and test Unity'
task
all:
%i
(clean unit summary)
task
default:
%i
(clobber all)
task
all:
%i
[clean unit summary]
task
default:
%i
[clobber all]
task
ci:
[
:default
]
task
cruise:
[
:default
]
...
...
extras/fixture/rakefile.rb
浏览文件 @
c1bc32dc
...
...
@@ -33,10 +33,10 @@ task unit: [:prepare_for_tests] do
end
desc
'Build and test Unity Framework'
task
all:
%i
(clean unit)
task
default:
%i
(clobber all)
task
ci:
%i
(no_color default)
task
cruise:
%i
(no_color default)
task
all:
%i
[clean unit]
task
default:
%i
[clobber all]
task
ci:
%i
[no_color default]
task
cruise:
%i
[no_color default]
desc
'Load configuration'
task
:config
,
:config_file
do
|
_t
,
args
|
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录