Skip to content

Commit

Permalink
fix versions, metadata, schema moved, remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Sep 10, 2023
1 parent 8e3a9b2 commit 0627a45
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
5 changes: 3 additions & 2 deletions cargo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ keywords = [
"build",
"cargo",
"plugin",
"subcommand",
"cargo-subcommand",
"gamedev",
]
categories = [
"command-line-utilities",
Expand All @@ -26,6 +24,8 @@ categories = [
# "development-tools::testing", # TODO: uncomment when test command is implemented
]

include = ["cargo-playdate.json"]


[[bin]]
name = "cargo-playdate"
Expand Down Expand Up @@ -61,6 +61,7 @@ log = "0.4"


[dependencies.playdate]
version = "0.1"
path = "../support/build"
package = "playdate-build"
features = ["assets-report", "toml"]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cargo/src/init/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ fn cargo_config<P: AsRef<Path>>(config: &Config, path: P) -> CargoResult<()> {
/// \* Local schema currently is default option
/// because schema is not published on schemastore.org yet.
fn manifest_schema<P: AsRef<Path>>(config: &Config, dir: P) -> CargoResult<Option<String>> {
let bytes = include_bytes!("../../../cargo-playdate.json");
let bytes = include_bytes!("../../cargo-playdate.json");
let schema = if config.create_local_schema {
let path = dir.as_ref().join(".cargo").join("cargo-playdate.json");

Expand Down
7 changes: 1 addition & 6 deletions cargo/tests/crates/metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,11 @@ publish = false

[package.metadata.playdate]
bundle-id = "test.workspace.main.crate"
# description = "test"

[package.metadata.playdate.assets]
"main/" = "Cargo.toml"
# options.method = "link"
# options.overwrite = true
# options.dependencies = true

[package.metadata.playdate.assets.options]
# # [package.metadata.playdate.options]
# # [package.metadata.playdate.options.assets]
dependencies = true
overwrite = true

Expand Down
2 changes: 1 addition & 1 deletion support/build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"
license = "MIT OR Apache-2.0"
authors = ["Alex Koz <a@koz.email>"]
description = "Utils that help to build package for Playdate"
keywords = ["playdate", "package", "encoding", "manifest", "assets", "utility"]
keywords = ["playdate", "package", "encoding", "manifest", "assets"]
categories = ["development-tools::build-utils"]
homepage = "https://github.com/boozook/playdate"
repository = "https://github.com/boozook/playdate.git"
Expand Down

0 comments on commit 0627a45

Please sign in to comment.