https://github.com/robloach/asdf-playdate
Playdate SDK plugin for asdf version manager
https://github.com/robloach/asdf-playdate
asdf-plugin playdate playdate-sdk
Last synced: 3 months ago
JSON representation
Playdate SDK plugin for asdf version manager
- Host: GitHub
- URL: https://github.com/robloach/asdf-playdate
- Owner: RobLoach
- License: other
- Created: 2022-08-28T21:06:30.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-30T04:25:52.000Z (11 months ago)
- Last Synced: 2025-03-30T18:01:58.321Z (4 months ago)
- Topics: asdf-plugin, playdate, playdate-sdk
- Language: Shell
- Homepage: https://play.date
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# asdf-playdate [](https://github.com/RobLoach/asdf-playdate/actions/workflows/build.yml) [](https://github.com/RobLoach/asdf-playdate/actions/workflows/lint.yml)
[Playdate SDK](https://sdk.play.date/inside-playdate) plugin for the [asdf version manager](https://asdf-vm.com).
# Contents
- [Dependencies](#dependencies)
- [Install](#install)
- [Contributing](#contributing)
- [License](#license)# Dependencies
- `curl`
- `tar`# Install
The following covers how to install Playdate with asdf.
## Plugin
First, install the plugin with:
```shell
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:
```shell
# 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](https://github.com/asdf-vm/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](https://sdk.play.date/2.4.2/Inside%20Playdate%20with%20C.html#_set_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](contributing.md).
[Thanks goes to these contributors](https://github.com/RobLoach/asdf-playdate/graphs/contributors)!
# License
See [LICENSE](LICENSE) © [Rob Loach](https://github.com/RobLoach/)