Commit Graph

5 Commits

Author SHA1 Message Date
Maxim Uvarov
afde2592a6
use typos for corrections (#833)
I used [typos](https://github.com/crate-ci/typos/).
I manually checked all the corrections and they seem safe to me.
There are still some left, but those in this PR are good
2024-05-08 06:47:54 -05:00
Darren Schroeder
52e37dcd18
move assets so they're more accessible (#445) 2023-04-12 08:29:47 -05:00
Darren Schroeder
ca89da5242
reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
Eli Flanagan
9659a8957f
condense sample data folders
I went with `/assets` because that seems more intuitive to me. I also removed the unused gh-emoji.json file.

Signed-off-by: Eli Flanagan <eli@typedspace.com>
2021-10-13 13:03:38 -04:00
Andrés N. Robalino
52f984f3ce Infraestructure initial setup.
Some groundwork to start growing Nu's standard library. As an initial exercise
we take the mantainer_time.nu script that computes the core team's table timezone
so that a given date can be converted to their local timezones.

While doing so, it sounded like the logic could be abstracted out and make it
a subcommand of `date` instead. For that reason, that particular custom command
of interested was moved to `std/date`.

Another one added were basic infraestructure custom commands for the test framework,
subject to change (naming, and more things). It's in `std/playground` and it's used
in `tests` directory.

Since this repository contains scripts, we keep the `language` directory to maintain
and grow the nu std library and grow it as we see custom command candidates.

For the majority of the scripts that have nothing to do with the standard language but
they do exercise Nu in practice (and some use custom commands, ideally, from the very, hopefully,
future nu standard library) I have expectations to make them `runnable` as well and for that reason
we introduce here an `examples` directory.

To run the first one, you can do:

```
nu examples/date_in_local_timezones.nu
```
2021-08-29 14:58:53 -05:00