Skip to content

Commit

Permalink
DEMO: preprocessor doesn't delete cache files
Browse files Browse the repository at this point in the history
WIP: This is a demo for the purposes of opening a tracking issue.
DO NOT REVIEW
DO NOT SUBMIT

Signed-off-by: Jonathan Matthews <[email protected]>
Change-Id: I63436bdcca111fd6f39d27e12c1ec8c477bf4207
Dispatch-Trailer: {"type":"trybot","CL":1200070,"patchset":1,"ref":"refs/changes/70/1200070/1","targetBranch":"master"}
  • Loading branch information
jpluscplusm authored and cueckoo committed Aug 27, 2024
1 parent b24925a commit c6ec4ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
15 changes: 0 additions & 15 deletions content/docs/_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,6 @@ data validation language with its roots in logic programming.
It combines succinct yet clear syntax with powerful, flexible constraints that
enable data, schema, and policy constraints to coexist seamlessly:

{{{with code "en" "example"}}}
#location left right
! exec cue vet example.cue
cmp stderr out
-- example.cue --
area: length * width
area: <100 // Must be less than 100.
width: 33.3 & >10 // Must be greater than 10.
length: 5 & !=width // Reject square areas.
-- out --
area: invalid value 166.5 (out of bound <100):
./example.cue:2:9
./example.cue:1:9
{{{end}}}

CUE supports and simplifies a wide variety of applications, such as
[data validation]({{< relref "concept/how-cue-enables-data-validation" >}}),
[configuration]({{< relref "concept/how-cue-enables-configuration" >}}),
Expand Down
15 changes: 0 additions & 15 deletions hugo/content/en/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,6 @@ data validation language with its roots in logic programming.
It combines succinct yet clear syntax with powerful, flexible constraints that
enable data, schema, and policy constraints to coexist seamlessly:

{{< code-tabs >}}
{{< code-tab name="example.cue" language="cue" area="left" >}}
area: length * width
area: <100 // Must be less than 100.
width: 33.3 & >10 // Must be greater than 10.
length: 5 & !=width // Reject square areas.
{{< /code-tab >}}
{{< code-tab name="TERMINAL" language="" area="right" type="terminal" codetocopy="Y3VlIHZldCBleGFtcGxlLmN1ZQ==" >}}
$ cue vet example.cue
area: invalid value 166.5 (out of bound <100):
./example.cue:2:9
./example.cue:1:9
{{< /code-tab >}}
{{< /code-tabs >}}

CUE supports and simplifies a wide variety of applications, such as
[data validation]({{< relref "concept/how-cue-enables-data-validation" >}}),
[configuration]({{< relref "concept/how-cue-enables-configuration" >}}),
Expand Down

0 comments on commit c6ec4ca

Please sign in to comment.