Skip to content

Commit

Permalink
~fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Jun 9, 2024
1 parent aad4615 commit 6e43f70
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 75 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@ futures-lite = "2.3"
thiserror = "1.0"
tokio = { version = "1.37", default-features = false }
async-std = { version = "1.12", default-features = false }


[workspace.metadata.playdate.options.assets]
dependencies = true
overwrite = true
2 changes: 0 additions & 2 deletions cargo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ fn main() -> CargoResult<()> {


fn execute(config: &Config) -> CargoResult<()> {
let deps_tree = crate::utils::cargo::meta_deps::meta_deps(config)?;

match config.cmd {
cli::cmd::Cmd::Assets => {
let _result = assets::build(config)?;
Expand Down
68 changes: 0 additions & 68 deletions cargo/tests/crates/metadata/src/main.rs

This file was deleted.

8 changes: 3 additions & 5 deletions support/build/src/metadata/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,23 @@ fn eq_metadata_field() {


pub mod ws {
use super::Deserialize;

#[derive(Debug)]
#[cfg_attr(feature = "serde", derive(Deserialize))]
#[cfg_attr(feature = "serde", derive(super::Deserialize))]
pub struct WorkspaceMetadata {
#[cfg_attr(feature = "serde", serde(rename = "playdate"))]
pub inner: Option<Metadata>,
}

#[derive(Debug, Clone, PartialEq)]
#[cfg_attr(feature = "serde", derive(Deserialize))]
#[cfg_attr(feature = "serde", derive(super::Deserialize))]
#[cfg_attr(feature = "serde", serde(deny_unknown_fields))]
pub struct Metadata {
pub options: Option<OptionsDefault>,
pub support: Option<super::Support>,
}

#[derive(Debug, Clone, Default, PartialEq)]
#[cfg_attr(feature = "serde", derive(Deserialize))]
#[cfg_attr(feature = "serde", derive(super::Deserialize))]
#[cfg_attr(feature = "serde", serde(deny_unknown_fields))]
pub struct OptionsDefault {
pub assets: Option<super::AssetsOptions>,
Expand Down

0 comments on commit 6e43f70

Please sign in to comment.