KtorZ
f8970ecb9e
Move UPLC dump into separate function + log event.
...
```
Compiling aiken-lang/stdlib 43d8e740ffdf5febc59e51b7f0d5f8506115340c (examples/hello_world/build/packages/aiken-lang-stdlib)
Compiling aiken-lang/hello_world 1.0.0 (examples/hello_world)
Generating project's blueprint (examples/hello_world/plutus.json)
Exporting UPLC (examples/hello_world/artifacts)
```
2023-01-31 09:48:44 +01:00
KtorZ
b667b7f7b7
Refactor test collection to use the new CheckedModules method
...
And also, caught a little issue regarding the filtering of test cases.
2023-01-31 09:48:44 +01:00
KtorZ
5683d19a4c
Refactor build steps to generate blueprints instead
...
The blueprint is generated at the root of the repository and is
intended to be versioned with the rest. It acts as a business card
that contains many practical information. There's a variety of tools
we can then build on top of open-source contracts. And, quite
importantly, the blueprint is language-agnostic; it isn't specific to
Aiken. So it is really meant as an interop format within the
ecosystem.
2023-01-31 09:48:38 +01:00
KtorZ
3cefbd00af
Draft basic Blueprint schema type definition.
...
This doesn't include validations yet. Let's start simple
and try to get some basic schema generated already.
2023-01-31 09:47:47 +01:00
Kasey White
e8fb386bdc
chore: Switch from hashmap and hashset to indexmap and indexset
2023-01-21 18:10:15 -05:00
KtorZ
c440026e36
Fix generated projects' README + rename 'certify' -> 'publish'
...
This hints to how this particular purpose is about publishing
certificate (either delegation or key de-registration).
2023-01-18 16:48:42 +01:00
KtorZ
20ac9c20a2
Remove some dead-code.
2023-01-18 16:43:40 +01:00
rvcas
c66d07a54c
feat: validator fns no longer need to be public
...
If the function doesn't match a script purpose
and is unused then it will till present as a
warning.
2023-01-15 12:33:10 -05:00
rvcas
00f2150eed
feat: add identity, always, & flip
2023-01-14 23:33:49 -05:00
KtorZ
38df9a586e
Add new 'deps add' command
...
This makes it easier to add new dependencies, without having to
manually edit the `aiken.toml` file.
The command is accessible via two different paths:
- aiken deps add
or simply
- aiken add
for this is quite common to find at the top-level of the command-line,
and, we still want to keep commands for managing dependencies grouped
under a command sub-group and not all at the top-level. So we're
merely promoting that one for visibility.
2023-01-14 23:29:28 +01:00
KtorZ
0771ab24bd
Move 'PackageName' and associated methods in its own module.
...
This is a bit cleaner, as the 'cmd/new' had many on-the-fly functions
which are better scoped inside this module.
Plus, it plays nicely with the std::str::FromStr trait definition.
2023-01-14 23:29:28 +01:00
KtorZ
e06bbc4e73
Slightly edit module matching logic for conciseness/clarity
...
Also allow using identifier names directly as shorthand, without
surrounding .{ ... }
2023-01-10 18:41:02 +01:00
rvcas
99ec0ff6b0
feat(check): change some logic around and add --exact-match
2023-01-10 11:46:44 -05:00
rvcas
9002ea263f
feat(check): make match tests flag fancier
2023-01-10 10:19:13 -05:00
rvcas
6a95d23811
fix: filter on regular iter before par iter cc @kprotty
2023-01-09 18:21:40 -05:00
rvcas
158b3dfe51
feat(aiken-project): use rayon to run tests in parallel
2023-01-09 18:12:18 -05:00
Kasey White
67e4ff8317
feat: allow functions from prelude
...
Co-authored-by: rvcas <x@rvcas.dev>
2022-12-31 00:09:02 -05:00
KtorZ
1701cacb52
Add builtin functions to the prelude
...
Starting with 'not', will add 'always' and 'identity' later.
2022-12-29 12:05:30 +01:00
KtorZ
ad5a393c4d
Add 'docs' and 'assets' to generated gitignore
...
And also make 'docs' the default folder (instead of doc) to be more aligned with Github's defaults.
2022-12-29 10:54:46 +01:00
Kasey White
919ea6c723
tuple destructuring nested and not now works
2022-12-27 19:35:08 -05:00
rvcas
01f2142606
fix: the push was in the wrong place
2022-12-23 22:00:59 -05:00
rvcas
cbaf629645
feat: warn if no validators on build
2022-12-23 22:00:59 -05:00
rvcas
42204d2d71
chore: make folder names match crate name
2022-12-21 18:11:07 -05:00