-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- This allows using the library without depending on the `getopts` and `vergen` trees - Rename executable - Update CI for cargo workspace - Update build scripts in root for workspace compatibility - Always run CI
- Loading branch information
Showing
14 changed files
with
511 additions
and
434 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ | |
# uses: actions-rs/cargo@v1 | ||
# with: | ||
# command: test | ||
# args: --release --verbose | ||
# args: --release --verbose --workspace | ||
# | ||
# - name: Get previous nightly Release info | ||
# uses: octokit/[email protected] | ||
|
@@ -73,7 +73,7 @@ | |
# with: | ||
# use-cross: true | ||
# command: build | ||
# args: --release --verbose --target=x86_64-pc-windows-gnu | ||
# args: --release --verbose --package customasm-cli --target=x86_64-pc-windows-gnu | ||
# | ||
# - name: Create remote nightly tag | ||
# env: | ||
|
@@ -114,4 +114,4 @@ | |
# upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
# asset_path: ./pkg/pkg.zip | ||
# asset_name: customasm_${{ env.RELEASE_TAG }}_win64.zip | ||
# asset_content_type: application/zip | ||
# asset_content_type: application/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[package] | ||
name = "customasm-cli" | ||
version = "0.11.10" | ||
edition = "2018" | ||
authors = ["hlorenzi <https://hlorenzi.com>"] | ||
description = "An assembler for custom, user-defined instruction sets!" | ||
homepage = "https://github.com/hlorenzi/customasm" | ||
repository = "https://github.com/hlorenzi/customasm" | ||
license = "Apache-2.0" | ||
keywords = ["asm", "assembler", "assembly", "custom"] | ||
categories = ["command-line-utilities", "hardware-support"] | ||
|
||
[dependencies] | ||
customasm = { path = "../" } | ||
getopts = "0.2.17" | ||
|
||
[build-dependencies] | ||
vergen = "3.1.0" | ||
|
||
[[bin]] | ||
name = "customasm" | ||
path = "src/main.rs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
extern crate vergen; | ||
|
||
|
||
use vergen::{generate_cargo_keys, ConstantsFlags}; | ||
|
||
|
||
fn main() | ||
{ | ||
let mut flags = ConstantsFlags::empty(); | ||
flags.toggle(ConstantsFlags::REBUILD_ON_HEAD_CHANGE); | ||
flags.toggle(ConstantsFlags::SEMVER_LIGHTWEIGHT); | ||
flags.toggle(ConstantsFlags::COMMIT_DATE); | ||
flags.toggle(ConstantsFlags::TARGET_TRIPLE); | ||
|
||
generate_cargo_keys(flags).expect("Unable to generate the cargo keys!"); | ||
} |
Oops, something went wrong.