mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
parent
eef39951ac
commit
a6792a273f
1 changed files with 12 additions and 13 deletions
|
@ -13,21 +13,20 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
rust-lang.org: '>=1.60'
|
rust-lang.org: '>=1.60'
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
script:
|
script: cargo install --path compiler-cli --force --locked --root {{prefix}}
|
||||||
cargo install --path compiler-cli --force --locked --root {{prefix}}
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
erlang.org: '*'
|
erlang.org: '*'
|
||||||
script: |
|
script:
|
||||||
gleam --version
|
- gleam --version
|
||||||
gleam new test
|
- gleam new pkgx_test_project
|
||||||
cp $FIXTURE test/src/test.gleam
|
- run: cp $FIXTURE pkgx_test_project/src/pkgx_test_project.gleam
|
||||||
cd test
|
fixture: |
|
||||||
gleam run | grep "Hello, world!"
|
import gleam/io
|
||||||
fixture: |
|
|
||||||
import gleam/io
|
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
io.print("Hello, world!")
|
io.print("Hello, world!")
|
||||||
}
|
}
|
||||||
|
- run: gleam run | grep "Hello, world!"
|
||||||
|
working-directory: pkgx_test_project
|
||||||
|
|
Loading…
Reference in a new issue