Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hjhart/playdate-docker
https://github.com/hjhart/playdate-docker
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hjhart/playdate-docker
- Owner: hjhart
- Created: 2022-09-07T03:52:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-08T21:51:51.000Z (about 2 years ago)
- Last Synced: 2024-08-01T23:30:46.808Z (4 months ago)
- Language: Lua
- Homepage:
- Size: 7.81 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-playdate - Playdate SDK Docker Image
README
# Playdate SDK Docker image
This docker image allows you to write playdate Lua code, and compile it without needing to install the SDK on your workstation. Obviously, no simulator can be run inside the docker image but after compiling you can grab the `.pdx/` directory and do with it what you want!
# Usage
To compile a main.lua file in the current directory:
```
docker run -v $(pwd):$(pwd) -w $(pwd) --rm -it hjhart/playdate-sdk main.lua
```See the docker image here: https://hub.docker.com/repository/docker/hjhart/playdate-sdk
# Development
To build it:
```
script/build
```To push it:
```
script/push
```TODO:
- [ ] Docker image size could be shrunk down. It is 160MB and doesn't bother trying to use alpine, yet.