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

allow creating modules using specified target names #168

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

vekatze
Copy link
Owner

@vekatze vekatze commented Jun 5, 2024

Use --target to specify the name of the created target:

neut create foo --target whatever
# Note: Created a module: foo

cd foo

tree
# ./
# ├── build/
# │  └── ...
# ├── source/
# │  └── whatever.nt ← ⭐
# └── module.ens

cat module.ens
# {
#   target {
#     whatever { ← ⭐
#       main "whatever.nt", ← ⭐
#     },
#   },
#   ...
# }

@vekatze vekatze marked this pull request as ready for review June 5, 2024 04:31
@vekatze vekatze merged commit 68ed49a into main Jun 5, 2024
1 check passed
@vekatze vekatze deleted the specfied-target-names branch June 5, 2024 04:31
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.

None yet

1 participant