Skip to content

Playdate SDK plugin for asdf version manager

License

Notifications You must be signed in to change notification settings

RobLoach/asdf-playdate

Repository files navigation

asdf-playdate Build Lint

Playdate SDK plugin for the asdf version manager.

Contents

Dependencies

  • curl
  • tar

Install

The following covers how to install Playdate with asdf.

Plugin

First, install the plugin with:

asdf plugin add playdate https://github.com/RobLoach/asdf-playdate.git

Playdate

Once the plugin is installed, you can install a version of the Playdate SDK:

# Show all installable versions
asdf list-all playdate

# Install specific version
asdf install playdate latest

# Set a version globally (on your ~/.tool-versions file)
asdf global playdate latest

# Now playdate commands are available
pdc --version
PlaydateSimulator --help

Check asdf readme for more instructions on how to install & manage versions.

PLAYDATE_SDK_PATH

Now that Playdate is set up, you can add the PLAYDATE_SDK_PATH environment variable by appending the following to your shell's initialization script, like ~/.bashrc...

Bash

. ~/.asdf/plugins/playdate/setup.bash

zsh

. ~/.asdf/plugins/playdate/setup.zsh

Fish

. ~/.asdf/plugins/playdate/setup.fish

Nushell

. ~/.asdf/plugins/playdate/setup.nu

Xonsh

. ~/.asdf/plugins/playdate/setup.xsh

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © Rob Loach