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

resolve pkg keyword #52

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

resolve pkg keyword #52

wants to merge 10 commits into from

Conversation

amtoine
Copy link
Member

@amtoine amtoine commented Dec 12, 2023

part of

inspired by

  • crate:: in Rust
  • target/ in Rust

Description

  • adds a test module which uses pkg/ as a keyword that means whatever the current module is
  • adds a module called resolution.nu to build and run a module
  • a .gitignore to ignore target/

try it out

Note

use tests/packages/spam_resolution/spam_resolution

does not work right away, which is expected

use resolution.nu
build tests/packages/spam_resolution
run tests/packages/spam_resolution/
use $PKG  # i did not manage to skip that step for now :thinking:

at that point, spam_resolution will be there

@amtoine amtoine mentioned this pull request Dec 12, 2023
4 tasks
@amtoine amtoine changed the title Pkg keyword resolve pkg keyword Dec 12, 2023
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.

1 participant