Vale icon indicating copy to clipboard operation
Vale copied to clipboard

Most samples in the release don't actually build

Open Verdagon opened this issue 3 years ago • 3 comments

Perhaps we should align them with tester or something? Maybe with Vale_Examples too?

Verdagon avatar Feb 13 '22 04:02 Verdagon

Here's an updated helloworld, at least.

import stdlib.*;

exported func main() {
  println("Hello world!");
}

(I'd submit a PR, but I can't actually figure out where there are coming from in the source tree.)

DDR0 avatar Mar 26 '22 21:03 DDR0

Likewise, updated README.txt for Linux:

Vale Compiler, version 0.1.4
http://vale.dev/

To run a program:
  valec.exe build [options] [module directory mappings]

Run `valec.exe help build` for more.

Windows Example:
  valec.exe build hello=./samples/helloworld stdlib=./stdlib/src
  ./a.out

Linux Example:
  ./valec build hello=./samples/helloworld stdlib=./stdlib/src
  build/main

This requires a python version of at least 3.8.

DDR0 avatar Mar 26 '22 21:03 DDR0

Thanks for the heads up! Adding it to this milestone. I think I'll also make the release process test these automatically.

Verdagon avatar Mar 30 '22 21:03 Verdagon