Skip to content

Commit d3f79f8

Browse files
authored
Use the lockfile package in the cache. (#83)
1 parent 79660a5 commit d3f79f8

File tree

9 files changed

+323
-83
lines changed

9 files changed

+323
-83
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
os: [ ubuntu-latest, windows-latest, macos-latest ]
1313
# The versions should contain (at least) the lowest requirement
1414
# and a version that is more up to date.
15-
toit-version: [ v2.0.0-alpha.170, latest ]
15+
toit-version: [ v2.0.0-alpha.189, latest ]
1616
include:
17-
- toit-version: v2.0.0-alpha.170
17+
- toit-version: v2.0.0-alpha.189
1818
version-name: old
1919
- toit-version: latest
2020
version-name: new

examples/package.lock

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sdk: ^2.0.0-alpha.170
1+
sdk: ^2.0.0-alpha.188.1
22
prefixes:
33
cli: ..
44
host: pkg-host
@@ -9,11 +9,12 @@ packages:
99
desktop: pkg-desktop
1010
fs: pkg-fs
1111
host: pkg-host
12+
lockfile: toit-lockfile
1213
pkg-desktop:
1314
url: github.com/toitlang/pkg-desktop
1415
name: desktop
15-
version: 1.0.0
16-
hash: 9c36fbb2cb28706705d9a21158c2fc9345108f6c
16+
version: 1.1.0
17+
hash: d6ad1d5c25e16d0c2910a132acba426251b5d87f
1718
prefixes:
1819
host: pkg-host
1920
pkg-fs:
@@ -26,5 +27,13 @@ packages:
2627
pkg-host:
2728
url: github.com/toitlang/pkg-host
2829
name: host
29-
version: 1.16.2
30-
hash: ae83f761db80166a20bb38498edd009916b72563
30+
version: 1.17.0
31+
hash: 05a26b5fa1cc73dc64a5e9cc16c40ae5aa24e0fb
32+
toit-lockfile:
33+
url: github.com/toitware/toit-lockfile
34+
name: lockfile
35+
version: 1.0.0
36+
hash: 47ddd8c13811e6cc368d6fef8f383b855f9d0ada
37+
prefixes:
38+
fs: pkg-fs
39+
host: pkg-host

examples/package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ dependencies:
33
path: ..
44
host:
55
url: github.com/toitlang/pkg-host
6-
version: ^1.16.2
6+
version: ^1.17.0

package.lock

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
sdk: ^2.0.0-alpha.170
1+
sdk: ^2.0.0-alpha.189
22
prefixes:
33
desktop: pkg-desktop
44
fs: pkg-fs
55
host: pkg-host
6+
lockfile: toit-lockfile
67
packages:
78
pkg-desktop:
89
url: github.com/toitlang/pkg-desktop
910
name: desktop
10-
version: 1.0.0
11-
hash: 9c36fbb2cb28706705d9a21158c2fc9345108f6c
11+
version: 1.1.0
12+
hash: d6ad1d5c25e16d0c2910a132acba426251b5d87f
1213
prefixes:
1314
host: pkg-host
1415
pkg-fs:
@@ -21,5 +22,13 @@ packages:
2122
pkg-host:
2223
url: github.com/toitlang/pkg-host
2324
name: host
24-
version: 1.16.2
25-
hash: ae83f761db80166a20bb38498edd009916b72563
25+
version: 1.17.0
26+
hash: 05a26b5fa1cc73dc64a5e9cc16c40ae5aa24e0fb
27+
toit-lockfile:
28+
url: github.com/toitware/toit-lockfile
29+
name: lockfile
30+
version: 1.0.0
31+
hash: 47ddd8c13811e6cc368d6fef8f383b855f9d0ada
32+
prefixes:
33+
fs: pkg-fs
34+
host: pkg-host

package.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: cli
22
description: Tools, like an argument parser, to create command-line applications.
33
environment:
4-
sdk: ^2.0.0-alpha.170
4+
sdk: ^2.0.0-alpha.189
55
dependencies:
66
desktop:
77
url: github.com/toitlang/pkg-desktop
8-
version: ^1.0.0
8+
version: ^1.1.0
99
fs:
1010
url: github.com/toitlang/pkg-fs
1111
version: ^2.3.1
1212
host:
1313
url: github.com/toitlang/pkg-host
14-
version: ^1.16.2
14+
version: ^1.17.0
15+
lockfile:
16+
url: github.com/toitware/toit-lockfile
17+
version: ^1.0.0

0 commit comments

Comments
 (0)