android - 如何在fastlane文件中写评论
问题描述
我试图在我的 fastline 中评论一些行,但我不确定如何在 fastlane 文件中写评论。我也不想删除这些行。
这就是我的想法:
build(variant: 'Release')
appcenter_upload(
api_token: ENV['APPCENTER_API_TOKEN'],
owner_name: "Ralali.com",
app_name: "Ralali-Android",
apk: "android/app/build/outputs/apk/release/app-release.apk",
destinations: "Production",
# destination_type: "group", IS THIS LINE COMMENTED? (WON'T EXECUTED?)
# notify_testers: true AND ALSO THIS ONE
)
我在生产中使用 circleci 运行 fastlane,我不想在生产中尝试,因为我害怕。
解决方案
使用 # 表示单行注释,使用 =begin ... =end 表示多行注释。另外,请注意 =begin 和 =end 必须位于行首,否则会出现语法错误。
# Single-line comment
=begin
Multi-line
comment
=end
推荐阅读
- pandas - 熊猫:什么是 dtype =
我有一张桌子,一列从csv加载为np.str。但是 dtype 说这个奇怪的 U64 (我猜意思是 unsigned int 64 位?)并且用 astype 转换不起作用。
stringIDs = extractedBatch.ID.astype(np.str) <
- c# - 跨线程操作无效:控件''从一个线程访问,而不是在窗口窗体中创建它的线程
- javascript - Rxjs 映射和过滤数组 - 返回单个对象而不是一个数组?
- gcc - 将 i386-elf-gcc 配置线程模式从单一更改为 posix
- python - 我的 python 数据框的一列包含 xml 格式的数据:我该如何解析它?
- react-native - 在 react native 中更改第三方组件的样式
- python - Python regex 中的 \w 中包含哪些(Unicode)数字?
- hyperledger-fabric - Hyperledger Fabric:资产查询上的 ENDORSEMENT_MISMATCH
- mysql - 如何从 MySQl Workbench 中的每个输入表中返回一行的三个单独表中的输出表?
- regex - 通过使用否定的外观来防止正则表达式匹配