-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
62 additions
and
61 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
on: | ||
push: | ||
paths: | ||
- 'test/**' | ||
on: push | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- uses: aviate-labs/setup-dfx@v0.2.3 | ||
with: | ||
dfx-version: 0.8.4 | ||
vessel-version: 0.6.2 | ||
- run: for i in test/*.mo ; do $(vessel bin)/moc $(vessel sources) -r $i ; done | ||
dfx-version: 0.12.1 | ||
vessel-version: 0.6.3 | ||
- run: | | ||
make check | ||
make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.PHONY: check test | ||
check: | ||
find src -type f -name '*.mo' -print0 | xargs -0 $(shell vessel bin)/moc $(shell vessel sources 2>/dev/null) --check | ||
test: | ||
find test -type f -name '*.mo' -print0 | xargs -0 $(shell vessel bin)/moc $(shell vessel sources 2>/dev/null) -r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
let upstream = https://github.com/aviate-labs/package-set/releases/download/v0.1.3/package-set.dhall sha256:ca68dad1e4a68319d44c587f505176963615d533b8ac98bdb534f37d1d6a5b47 | ||
let base = https://github.com/internet-computer/base-package-set/releases/download/moc-0.7.4/package-set.dhall sha256:3a20693fc597b96a8c7cf8645fda7a3534d13e5fbda28c00d01f0b7641efe494 | ||
let Package = { name : Text, version : Text, repo : Text, dependencies : List Text } | ||
|
||
let additions = [ | ||
{ name = "array" | ||
, version = "v0.2.1" | ||
, repo = "https://github.com/aviate-labs/array.mo" | ||
, dependencies = [ "base-0.7.3" ] : List Text | ||
}, | ||
{ name = "encoding" | ||
, version = "v0.4.1" | ||
, repo = "https://github.com/aviate-labs/encoding.mo" | ||
, dependencies = [ "base-0.7.3", "array" ] | ||
}, | ||
{ name = "io" | ||
, version = "v0.3.2" | ||
, repo = "https://github.com/aviate-labs/io.mo" | ||
, version = "v0.3.1" | ||
, dependencies = [ "base" ] | ||
, dependencies = [ "base-0.7.3" ] | ||
} | ||
] : List Package | ||
|
||
in upstream # additions | ||
in base # additions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
dependencies = [ "base", "encoding", "io" ], | ||
compiler = Some "0.6.11" | ||
dependencies = [ "base-0.7.3", "encoding", "io" ], | ||
compiler = Some "0.7.3" | ||
} |