-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #241 from savi-lang/add/load-from-deps-dir
Add ability to load 3rd-party deps from the `deps` dir, by version.
- Loading branch information
Showing
29 changed files
with
169 additions
and
89 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,6 +1,6 @@ | ||
:manifest "adventofcode-2018" | ||
:sources "src/*.savi" | ||
|
||
:dependency Spec "TODO: specify version" | ||
:dependency Map "TODO: specify version" | ||
:dependency Time "TODO: specify version" | ||
:dependency Spec v0 | ||
:dependency Map v0 | ||
:dependency Time v0 |
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,8 +1,8 @@ | ||
:manifest "http-example" | ||
:sources "src/*.savi" | ||
|
||
:dependency HTTPServer "TODO: specify version" | ||
:dependency TCP "TODO: specify version" | ||
:dependency IO "TODO: specify version" | ||
:transitive dependency ByteStream "TODO: specify version" | ||
:transitive dependency OSError "TODO: specify version" | ||
:dependency HTTPServer v0 | ||
:dependency TCP v0 | ||
:dependency IO v0 | ||
:transitive dependency ByteStream v0 | ||
:transitive dependency OSError v0 |
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,11 +1,11 @@ | ||
:manifest lib DeterministicRandom | ||
:sources "src/DeterministicRandom/**/*.savi" | ||
|
||
:dependency Random "TODO: specify version" | ||
:dependency Random v0 | ||
|
||
:manifest bin "spec-DeterministicRandom" | ||
:copies DeterministicRandom | ||
:sources "spec/DeterministicRandom/**/*.savi" | ||
|
||
:dependency Spec "TODO: specify version" | ||
:transitive dependency Map "TODO: specify version" | ||
:dependency Spec v0 | ||
:transitive dependency Map v0 |
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,11 +1,11 @@ | ||
:manifest lib HTTPServer | ||
:sources "src/HTTPServer/**/*.savi" | ||
|
||
:dependency ByteStream "TODO: specify version" | ||
:dependency ByteStream v0 | ||
|
||
:manifest bin "spec-HTTPServer" | ||
:copies HTTPServer | ||
:sources "spec/HTTPServer/**/*.savi" | ||
|
||
:dependency Spec "TODO: specify version" | ||
:transitive dependency Map "TODO: specify version" | ||
:dependency Spec v0 | ||
:transitive dependency Map v0 |
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,5 +1,5 @@ | ||
:manifest lib IO | ||
:sources "src/IO/**/*.savi" | ||
|
||
:dependency ByteStream "TODO: specify version" | ||
:dependency OSError "TODO: specify version" | ||
:dependency ByteStream v0 | ||
:dependency OSError v0 |
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,5 +1,5 @@ | ||
:manifest bin "spec-Savi" | ||
:sources "spec/Savi/**/*.savi" | ||
|
||
:dependency Spec "TODO: specify version" | ||
:transitive dependency Map "TODO: specify version" | ||
:dependency Spec v0 | ||
:transitive dependency Map v0 |
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,6 +1,6 @@ | ||
:manifest lib StdIn | ||
:sources "src/StdIn/**/*.savi" | ||
|
||
:dependency ByteStream "TODO: specify version" | ||
:dependency IO "TODO: specify version" | ||
:transitive dependency OSError "TODO: specify version" | ||
:dependency ByteStream v0 | ||
:dependency IO v0 | ||
:transitive dependency OSError v0 |
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,13 +1,13 @@ | ||
:manifest lib TCP | ||
:sources "src/TCP/**/*.savi" | ||
|
||
:dependency ByteStream "TODO: specify version" | ||
:dependency IO "TODO: specify version" | ||
:dependency OSError "TODO: specify version" | ||
:dependency ByteStream v0 | ||
:dependency IO v0 | ||
:dependency OSError v0 | ||
|
||
:manifest bin "spec-TCP" | ||
:copies TCP | ||
:sources "spec/TCP/**/*.savi" | ||
|
||
:dependency Spec "TODO: specify version" | ||
:transitive dependency Map "TODO: specify version" | ||
:dependency Spec v0 | ||
:transitive dependency Map v0 |
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
8 changes: 4 additions & 4 deletions
8
spec/integration/fix-manifests-missing-transitive-deps/savi.fix.after.dir/manifest.savi
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,10 +1,10 @@ | ||
:manifest "example" | ||
:sources "main.savi" | ||
|
||
:dependency TCP "TODO: specify version" | ||
:dependency TCP v0 | ||
|
||
:transitive dependency ByteStream "TODO: specify version" | ||
:transitive dependency ByteStream v0 | ||
|
||
:transitive dependency IO "TODO: specify version" | ||
:transitive dependency IO v0 | ||
|
||
:transitive dependency OSError "TODO: specify version" | ||
:transitive dependency OSError v0 |
2 changes: 1 addition & 1 deletion
2
spec/integration/fix-manifests-missing-transitive-deps/savi.fix.before.dir/manifest.savi
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 @@ | ||
:manifest "example" | ||
:sources "main.savi" | ||
|
||
:dependency TCP "TODO: specify version" | ||
:dependency TCP v0 |
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,7 +1,7 @@ | ||
:manifest "example" | ||
:sources "src/*.savi" | ||
|
||
:dependency StdIn "TODO: specify version" | ||
:dependency IO "TODO: specify version" | ||
:transitive dependency ByteStream "TODO: specify version" | ||
:transitive dependency OSError "TODO: specify version" | ||
:dependency StdIn v0 | ||
:dependency IO v0 | ||
:transitive dependency ByteStream v0 | ||
:transitive dependency OSError v0 |
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,7 +1,7 @@ | ||
:manifest "example" | ||
:sources "src/*.savi" | ||
|
||
:dependency StdIn "TODO: specify version" | ||
:dependency IO "TODO: specify version" | ||
:transitive dependency ByteStream "TODO: specify version" | ||
:transitive dependency OSError "TODO: specify version" | ||
:dependency StdIn v0 | ||
:dependency IO v0 | ||
:transitive dependency ByteStream v0 | ||
:transitive dependency OSError v0 |
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,7 +1,7 @@ | ||
:manifest "example" | ||
:sources "src/*.savi" | ||
|
||
:dependency StdIn "TODO: specify version" | ||
:dependency IO "TODO: specify version" | ||
:transitive dependency ByteStream "TODO: specify version" | ||
:transitive dependency OSError "TODO: specify version" | ||
:dependency StdIn v0 | ||
:dependency IO v0 | ||
:transitive dependency ByteStream v0 | ||
:transitive dependency OSError v0 |
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 @@ | ||
:manifest "example" | ||
:sources "src/*.savi" | ||
|
||
:dependency ByteStream "TODO: specify version" | ||
:dependency ByteStream v0 |
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
Oops, something went wrong.