Merge pull request #105 from gwilymk/rename-agb-entry-to-agb-macros

Rename agb entry to agb macros
This commit is contained in:
Gwilym Kuiper 2021-08-15 21:43:45 +01:00 committed by GitHub
commit fcce9bd5c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 24 additions and 24 deletions

View file

@ -1,9 +1,9 @@
name: Publish agb-entry
name: Publish agb-macros
on:
push:
tags:
- agb-entry/v*
- agb-macros/v*
jobs:
build:
@ -15,6 +15,6 @@ jobs:
uses: actions/checkout@v2
- name: Login to crates.io
run: cargo login ${{ secrets.CRATE_API }}
- name: Publish agb-entry
- name: Publish agb-macros
run: cargo publish
working-directory: ./agb-entry
working-directory: ./agb-macros

View file

@ -38,8 +38,8 @@ jobs:
- name: Run Clippy on agb image converter
working-directory: agb-image-converter
run: cargo clippy --verbose
- name: Run Clippy on agb entry
working-directory: agb-entry
- name: Run Clippy on agb macros
working-directory: agb-macros
run: cargo clippy --verbose
- name: Run Tests for agb in debug mode
working-directory: agb

View file

@ -3,7 +3,7 @@
version = 3
[[package]]
name = "agb_entry"
name = "agb_macros"
version = "0.1.0"
dependencies = [
"proc-macro2",

View file

@ -1,5 +1,5 @@
[package]
name = "agb_entry"
name = "agb_macros"
version = "0.1.0"
authors = ["Gwilym Kuiper <gw@ilym.me>"]
edition = "2018"

22
agb/Cargo.lock generated
View file

@ -12,21 +12,11 @@ checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234"
name = "agb"
version = "0.6.0"
dependencies = [
"agb_entry",
"agb_image_converter",
"agb_macros",
"bitflags",
]
[[package]]
name = "agb_entry"
version = "0.1.0"
dependencies = [
"proc-macro2",
"quote",
"rand",
"syn",
]
[[package]]
name = "agb_image_converter"
version = "0.6.0"
@ -39,6 +29,16 @@ dependencies = [
"toml",
]
[[package]]
name = "agb_macros"
version = "0.1.0"
dependencies = [
"proc-macro2",
"quote",
"rand",
"syn",
]
[[package]]
name = "autocfg"
version = "1.0.1"

View file

@ -20,7 +20,7 @@ debug = true
[dependencies]
bitflags = "1.2"
agb_image_converter = { version = "0.6.0", path = "../agb-image-converter" }
agb_entry = { version = "0.1.0", path = "../agb-entry" }
agb_macros = { version = "0.1.0", path = "../agb-macros" }
[package.metadata.docs.rs]
default-target = "thumbv6m-none-eabi"

View file

@ -22,7 +22,7 @@ pub mod sound;
pub use agb_image_converter::include_gfx;
pub use agb_entry::entry;
pub use agb_macros::entry;
mod bitarray;
pub mod interrupt;

View file

@ -28,9 +28,9 @@ case "$PROJECT" in
DIRECTORY="agb-image-converter"
TAGNAME="agb-image-converter/v$VERSION"
;;
agb-entry)
DIRECTORY="agb-entry"
TAGNAME="agb-entry/v$VERSION"
agb-macros)
DIRECTORY="agb-macros"
TAGNAME="agb-macros/v$VERSION"
;;
mgba-test-runner)
DIRECTORY="mgba-test-runner"