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

Adjust Build.rakumod directories & n-path #17

Open
librasteve opened this issue Jan 18, 2024 · 0 comments
Open

Adjust Build.rakumod directories & n-path #17

librasteve opened this issue Jan 18, 2024 · 0 comments

Comments

@librasteve
Copy link
Owner

const $dev-path = $*HOME.add('.myapp');

sub isNativeForMyapp {
my $resource-name = "foobar";
my $path = $dev-path.add($resource-name);
if not $path.exists { $path.spurt(%?RESOURCES{$resource-name}.slurp(); };
return $lib
};

sub needs-naitve-lib is native(&isNativeForMyapp)

per ugexe advice

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

No branches or pull requests

1 participant