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: on:
push: push:
tags: tags:
- agb-entry/v* - agb-macros/v*
jobs: jobs:
build: build:
@ -15,6 +15,6 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Login to crates.io - name: Login to crates.io
run: cargo login ${{ secrets.CRATE_API }} run: cargo login ${{ secrets.CRATE_API }}
- name: Publish agb-entry - name: Publish agb-macros
run: cargo publish 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 - name: Run Clippy on agb image converter
working-directory: agb-image-converter working-directory: agb-image-converter
run: cargo clippy --verbose run: cargo clippy --verbose
- name: Run Clippy on agb entry - name: Run Clippy on agb macros
working-directory: agb-entry working-directory: agb-macros
run: cargo clippy --verbose run: cargo clippy --verbose
- name: Run Tests for agb in debug mode - name: Run Tests for agb in debug mode
working-directory: agb working-directory: agb

View file

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

View file

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

22
agb/Cargo.lock generated
View file

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

View file

@ -20,7 +20,7 @@ debug = true
[dependencies] [dependencies]
bitflags = "1.2" bitflags = "1.2"
agb_image_converter = { version = "0.6.0", path = "../agb-image-converter" } 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] [package.metadata.docs.rs]
default-target = "thumbv6m-none-eabi" default-target = "thumbv6m-none-eabi"

View file

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

View file

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