Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use dep hashmaps from ZhenyaUsenko
- Loading branch information
Showing
6 changed files
with
51 additions
and
59 deletions.
There are no files selected for viewing
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,25 +1,20 @@ | ||
let upstream = https://github.com/dfinity/vessel-package-set/releases/download/mo-0.8.2-20230217/package-set.dhall sha256:0a6f87bdacb4032f4b273d936225735ca4a0b0378de1f81e4bc4c6b4c5bad8a5 | ||
let upstream = https://github.com/internet-computer/base-package-set/releases/download/moc-0.8.6/package-set.dhall sha256:4a7734568f1c7e5dfe91d2ba802c9b6f218d7836904dea5a999a3096f6ef0d3c | ||
let Package = | ||
{ name : Text, version : Text, repo : Text, dependencies : List Text } | ||
|
||
let | ||
-- This is where you can add your own packages to the package-set | ||
additions = | ||
[] : List Package | ||
let additions = [ | ||
{ | ||
name = "base", | ||
repo = "https://github.com/dfinity/motoko-base", | ||
version = "master", | ||
dependencies = [] : List Text | ||
}, | ||
{ | ||
name = "hashmap", | ||
repo = "https://github.com/ZhenyaUsenko/motoko-hash-map", | ||
version = "master", | ||
dependencies = [] : List Text | ||
}, | ||
] : List Package | ||
|
||
let | ||
{- This is where you can override existing packages in the package-set | ||
For example, if you wanted to use version `v2.0.0` of the foo library: | ||
let overrides = [ | ||
{ name = "foo" | ||
, version = "v2.0.0" | ||
, repo = "https://github.com/bar/foo" | ||
, dependencies = [] : List Text | ||
} | ||
] | ||
-} | ||
overrides = | ||
[] : List Package | ||
|
||
in upstream # additions # overrides | ||
in upstream # 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" ], | ||
compiler = None Text | ||
dependencies = [ "base", "hashmap" ], | ||
compiler = Some "0.8.6" | ||
} |