簡體   English   中英

如何在fastlane文件中寫評論

[英]How to write comment in fastlane file

我試圖在我的 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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM