-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Scryer Prolog package. (#8628)
Co-authored-by: Jacob Heider <[email protected]>
- Loading branch information
1 parent
cb2311f
commit 8ffa75f
Showing
2 changed files
with
24 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
distributable: | ||
url: https://github.com/mthom/scryer-prolog/archive/refs/tags/{{version.tag}}.tar.gz | ||
strip-components: 1 | ||
|
||
display-name: Scryer Prolog | ||
|
||
versions: | ||
github: mthom/scryer-prolog | ||
|
||
dependencies: | ||
openssl.org: ^1.1 | ||
|
||
build: | ||
dependencies: | ||
rust-lang.org: ^1.70 | ||
rust-lang.org/cargo: '*' | ||
script: cargo install --path . --root '{{prefix}}' | ||
|
||
provides: | ||
- bin/scryer-prolog | ||
|
||
test: scryer-prolog --goal "test, halt" test.pl | grep "H,e,l,l,o" |
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,2 @@ | ||
test :- | ||
write("Hello from Scryer Prolog."). |