benfrankel / bevy_jam_template

https://pyrious.itch.io/bevy-jam-template
BSD Zero Clause License
3 stars 0 forks source link

Getting started

Create a new project

  1. Clone this template: git clone --depth 1 https://github.com/benfrankel/bevy_jam_template.git
  2. Create a new project:
    1. Copy bevy_jam_template to a new project path (with a valid Rust package name).
    2. Navigate into the new project path.
    3. Remove template files: .git, create.sh, Cargo.lock, LICENSE-0BSD, LICENSE-CC0-1.0, README.md.
    4. Search and replace instances of bevy_jam_template with your project name.
    5. Initialize git repo: git init && git add . && git commit -m 'Initial commit'

Enable CI / CD

  1. Create a GitHub repo for your project.
  2. Link your local repo to the GitHub repo.
  3. Configure the GitHub repo:
    1. Settings > General > Default branch = main
    2. Settings > Secrets and variables > Actions > New repository secret
      • Name = BUTLER_CREDENTIALS
      • Secret = <itch.io API key>
  4. Create an itch.io page for your project.
  5. Point the ITCH_TARGET value in .github/workflows/release.yaml to your itch.io page.
  6. To trigger CI, push a commit to main.
  7. To trigger CD, push a release tag in the format v1.2.3. Consider releasing daily during a game jam!

Build your project

Features

Credit