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 #323

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

Conversation

ryanabx
Copy link
Contributor

@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

justfile Outdated Show resolved Hide resolved
justfile Outdated Show resolved Hide resolved
export SHARE_DIR := sharedir
export BIN_DIR := base-dir / 'bin'
export LIB_DIR := libdir

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.

export BIN_DIR := base-dir / 'bin'
export LIB_DIR := libdir

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.

@RossBarnie RossBarnie mentioned this pull request Aug 6, 2024
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.

3 participants