Skip to content

v0.2.194

Choose a tag to compare

@proggeramlug proggeramlug released this 18 Mar 07:55
· 4693 commits to main since this release

CLI: platform as positional argument

perry run and perry publish now take the target platform as a positional argument instead of -- flags:

# Before
perry run --ios
perry publish --macos

# After
perry run ios
perry publish macos

Platform is the primary selector for these commands — positional args are the right fit. perry compile --target is unchanged since the input file is the primary argument there.

Supported platforms

macos · ios · android · linux · windows · web

Examples

perry run                          # default: host platform
perry run ios                      # run on iOS device/simulator
perry run ios --simulator <UDID>   # specific simulator
perry run web                      # open in browser
perry publish macos                # build & publish for macOS
perry publish ios --license-key X  # flags still work as before