Adds an alternative TOML configuration format to Lake. * Uses TOML v1.0.0 and is fully specification compliant (tested via [toml-test v1.4.0](https://github.com/toml-lang/toml-test/tree/v1.4.0)). * Supports package configuration options, Lean libraries, Lean executables, and dependencies. * TOML configurations can be generated for new projects via `lake new|init <pkg> <template>.toml`. * Supported configurations can be converted to/from TOML via `lake translate-config <lang>`.
13 lines
257 B
Bash
Executable file
13 lines
257 B
Bash
Executable file
set -ex
|
|
|
|
LAKE=${LAKE:-../../.lake/build/bin/lake}
|
|
|
|
./clean.sh
|
|
$LAKE -d bar update
|
|
$LAKE -d bar build # tests lake#83
|
|
$LAKE -d foo build
|
|
|
|
./clean.sh
|
|
$LAKE -d bar -f lakefile.toml update
|
|
$LAKE -d bar -f lakefile.toml build
|
|
$LAKE -d foo -f lakefile.toml build
|