Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Use Just instead of Make #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanabx
Copy link

@ryanabx ryanabx commented Feb 24, 2024

This PR moves the build automation system over to Just instead of Make.

Todo (but I may not have the time to do them):

  • Test using the justfile commands
  • Move the debian build/install commands over to just

prefix := '/usr'

base-dir := absolute_path(clean(rootdir / prefix))

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Add a line like cargo-target-dir := env('CARGO_TARGET_DIR', 'target') here to read the CARGO_TARGET_DIR environment variable.


base-dir := absolute_path(clean(rootdir / prefix))

bin-src := 'target' / 'release' / name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Change this line to bin-src := cargo-target-dir / 'release' / name to use the previously read environment variable instead of hardcoding the target directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants