ddanier / nur Goto Github PK
View Code? Open in Web Editor NEWnur - a taskrunner based on nu shell
Home Page: https://nur-taskrunner.github.io/docs/
License: Other
nur - a taskrunner based on nu shell
Home Page: https://nur-taskrunner.github.io/docs/
License: Other
Describe the bug
Run release action, it fails.
For common thinks like docker support :)
At least provide some example nurfile
s we test against. :)
It may be useful to execute arbitrary nurfile
commands using something like nur -c foo
, like it is possible with nu -c ...
.
Describe the bug
The cwd for nur process could be $nur.run-path instead of $nur.project-path
If I create new tmux pane from the pane which is used for running nur process, I can get the new pane whose pane cwd is $nur.run-path
To Reproduce
.
├── a
├── b
└── nurfile
When I run nur in a directory, the nur process cwd is $nur.project-path instead of $nur.run-path (In a directory)
Expected behavior
I prefer use $nur.run-path. So I can create new tmux pane from nur process pane without extra cd command.
Or make the behavior configurable
Update to nu 0.96.0, see https://www.nushell.sh/blog/2024-07-23-nushell_0_96_0.html
Hey mate, can we get some simple installation docs please ?
Ideally also for development ;)
Is your feature request related to a problem? Please describe.
No, just am improvement
Describe the solution you'd like
nu shell introduces a data/cache dir, see https://www.nushell.sh/blog/2024-06-25-nushell_0_95_0.html
Those are currently not available to be used in nur inside the .nur
folder.
Describe alternatives you've considered
We could just not support this, but then nu and nur would feel more different.
def "nur foo bar" [] {
# ...
}
Should be callable by nur foo bar
.
How to accomplish this, as we don't know what is task name and what are parameters?
Maybe allow structured data transfer by doing so?
Describe the bug
The which
(nu built-in) commnad doesnt work on the windows version, while it does on the linux version.
To Reproduce
Steps to reproduce the behavior:
[email protected]
def "nur w" [] { which which }
nur w
tasknu::shell::external_command
Expected behavior
The which
command runs successfully and prints the following output
Version details (please complete the following information):
Additional context
N/A
nur
should be moved here: nur-taskrunner
To create config files for example
Maybe use minijinja
I'm currently using version 0.1.x for trying out things and finding the best way to implement stuff. Version 0.2.0 should be the version that provides some stable ground to build upon and also contain all the core features. After 0.2.0 I will switch to a semver based release versioning.
Ideas I want to think about and/or implement for 0.2.0:
nur
should not interfere with normal nu
shell config/env. Thus maybe we should set default-config-dir
to $project-path/.nur
. This would also replace the current .nurscripts
directory.
main.rs
to be way more modular, should also increase testability.nu_plugin_nur
command to easily register nur
as a nu
plugin for nu
shell users. See #3nur
works from a user perspective, maybe actually call some nur
tasks for this. Might include #6nur
was tested on Linux, Mac and Windows.nu
does thisenv.nu
and scripts
behaviourA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.