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
28 changed files
with
378 additions
and
6 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
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
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
60 changes: 60 additions & 0 deletions
60
dev/resources/root-templates/typed/lib.spec.alpha/README.md
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,60 @@ | ||
{% do-not-edit-xml-comment %} | ||
# typed.lib.spec.alpha | ||
|
||
<a href='{◊typedclojure-homepage◊}'><img src='../../doc/images/part-of-typed-clojure-project.png'></a> | ||
|
||
<p> | ||
<a href='https://www.patreon.com/ambrosebs'><img src='../../doc/images/become_a_patron_button.png'></a> | ||
<a href='https://opencollective.com/typedclojure'><img src='../../doc/images/donate-to-our-collective.png'></a> | ||
</p> | ||
|
||
Annotations and type rules for spec.alpha. | ||
|
||
## Releases and Dependency Information | ||
|
||
Latest stable release is {◊typedclojure-stable-mvn-version◊}. | ||
|
||
* [All Released Versions](https://clojars.org/{◊typedclojure-group-id◊}/typed.lib.spec.alpha) | ||
|
||
[deps.edn](https://clojure.org/reference/deps_and_cli) JAR dependency information: | ||
|
||
```clj | ||
{◊typedclojure-group-id◊}/typed.lib.spec.alpha {:mvn/version "{◊typedclojure-stable-mvn-version◊}"} | ||
``` | ||
|
||
[deps.edn](https://clojure.org/reference/deps_and_cli) Git dependency information: | ||
|
||
- Note: use `clj -Sresolve` to resolve the `:tag` to a `:sha` | ||
|
||
```clj | ||
{◊typedclojure-group-id◊}/typed.lib.spec.alpha | ||
{:git/url "{◊typedclojure-git-https-url◊}" | ||
:deps/root "typed/lib.spec.alpha" | ||
:tag "{◊typedclojure-stable-mvn-version◊}"} | ||
``` | ||
|
||
[Leiningen](https://github.com/technomancy/leiningen) dependency information: | ||
|
||
```clojure | ||
[{◊typedclojure-group-id◊}/typed.lib.spec.alpha "{◊typedclojure-stable-mvn-version◊}"] | ||
``` | ||
|
||
[Maven](https://maven.apache.org/) dependency information: | ||
|
||
```XML | ||
<dependency> | ||
<groupId>{◊typedclojure-group-id◊}</groupId> | ||
<artifactId>typed.lib.spec.alpha</artifactId> | ||
<version>{◊typedclojure-stable-mvn-version◊}</version> | ||
</dependency> | ||
``` | ||
|
||
## Documentation | ||
|
||
[API Reference](https://api.typedclojure.org/latest/typed.lib.spec.alpha/index.html) | ||
|
||
## License | ||
|
||
Copyright © Ambrose Bonnaire-Sergeant, Rich Hickey & contributors. | ||
|
||
Licensed under the EPL (see the file epl-v10.html). |
30 changes: 30 additions & 0 deletions
30
dev/resources/root-templates/typed/lib.spec.alpha/deps.edn
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,30 @@ | ||
{% do-not-edit-edn-comment %} | ||
{:paths ["src"] | ||
:deps {org.clojure/clojure {:mvn/version "{◊clojure-mvn-version◊}"}} | ||
:mvn/repos {"sonatype-oss-public" | ||
{:url "{◊sonatype-oss-public-url◊}"}} | ||
:aliases {:test | ||
{:extra-deps {{◊typedclojure-group-id◊}/typed.clj.checker | ||
{:local/root "../clj.checker" | ||
:deps/manifest :deps}} | ||
:extra-paths ["test"]} | ||
:nREPL | ||
{:extra-deps | ||
{nrepl/nrepl {:mvn/version "{◊nrepl-mvn-version◊}"} | ||
cider/cider-nrepl {:mvn/version "0.25.3"}}, | ||
:main-opts ["-m" "nrepl.cmdline" | ||
"--interactive" | ||
"--middleware" "[\"cider.nrepl/cider-middleware\"]"]} | ||
|
||
:codox | ||
{:extra-deps {codox/codox {:mvn/version "{◊codox-mvn-version◊}"}} | ||
:extra-paths ["script"] | ||
:main-opts ["-m" "gen-doc"]} | ||
|
||
:runner | ||
{:extra-deps {{◊cognitect-test-runner-coordinates◊} | ||
{:git/url "{◊cognitect-test-runner-git-url◊}" | ||
:sha "{◊cognitect-test-runner-sha◊}"}} | ||
:main-opts ["-m" "cognitect.test-runner" | ||
"-d" "test" | ||
"-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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
{% do-not-edit-xml-comment %} | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>{◊typedclojure-group-id◊}</groupId> | ||
<artifactId>typed.lib.spec.alpha</artifactId> | ||
<description>FIXME</description> | ||
<name>typed.lib.spec.alpha</name> | ||
<version>{◊typedclojure-current-mvn-version◊}</version> | ||
|
||
<licenses> | ||
<license> | ||
<name>Eclipse Public License 1.0</name> | ||
<url>http://opensource.org/licenses/eclipse-1.0.php</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<parent> | ||
<groupId>{◊typedclojure-group-id◊}</groupId> | ||
<artifactId>pom.typed</artifactId> | ||
<version>{◊typedclojure-current-mvn-version◊}</version> | ||
<relativePath>../..</relativePath> | ||
</parent> | ||
</project> |
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 |
---|---|---|
|
@@ -79,5 +79,3 @@ | |
(r/ret r/-nil | ||
(fo/-false-filter)) | ||
expected)))))) | ||
|
||
|
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,60 @@ | ||
<!-- DO NOT EDIT! Instead, edit `dev/resources/root-templates/typed/lib.spec.alpha/README.md` and run `./script/regen-selmer.sh` --> | ||
# typed.lib.spec.alpha | ||
|
||
<a href='https://typedclojure.org'><img src='../../doc/images/part-of-typed-clojure-project.png'></a> | ||
|
||
<p> | ||
<a href='https://www.patreon.com/ambrosebs'><img src='../../doc/images/become_a_patron_button.png'></a> | ||
<a href='https://opencollective.com/typedclojure'><img src='../../doc/images/donate-to-our-collective.png'></a> | ||
</p> | ||
|
||
Annotations and type rules for spec.alpha. | ||
|
||
## Releases and Dependency Information | ||
|
||
Latest stable release is 1.0.19. | ||
|
||
* [All Released Versions](https://clojars.org/org.typedclojure/typed.lib.spec.alpha) | ||
|
||
[deps.edn](https://clojure.org/reference/deps_and_cli) JAR dependency information: | ||
|
||
```clj | ||
org.typedclojure/typed.lib.spec.alpha {:mvn/version "1.0.19"} | ||
``` | ||
|
||
[deps.edn](https://clojure.org/reference/deps_and_cli) Git dependency information: | ||
|
||
- Note: use `clj -Sresolve` to resolve the `:tag` to a `:sha` | ||
|
||
```clj | ||
org.typedclojure/typed.lib.spec.alpha | ||
{:git/url "https://github.com/typedclojure/typedclojure" | ||
:deps/root "typed/lib.spec.alpha" | ||
:tag "1.0.19"} | ||
``` | ||
|
||
[Leiningen](https://github.com/technomancy/leiningen) dependency information: | ||
|
||
```clojure | ||
[org.typedclojure/typed.lib.spec.alpha "1.0.19"] | ||
``` | ||
|
||
[Maven](https://maven.apache.org/) dependency information: | ||
|
||
```XML | ||
<dependency> | ||
<groupId>org.typedclojure</groupId> | ||
<artifactId>typed.lib.spec.alpha</artifactId> | ||
<version>1.0.19</version> | ||
</dependency> | ||
``` | ||
|
||
## Documentation | ||
|
||
[API Reference](https://api.typedclojure.org/latest/typed.lib.spec.alpha/index.html) | ||
|
||
## License | ||
|
||
Copyright © Ambrose Bonnaire-Sergeant, Rich Hickey & contributors. | ||
|
||
Licensed under the EPL (see the file epl-v10.html). |
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,30 @@ | ||
;; DO NOT EDIT! Instead, edit `dev/resources/root-templates/typed/lib.spec.alpha/deps.edn` and run `./script/regen-selmer.sh` | ||
{:paths ["src"] | ||
:deps {org.clojure/clojure {:mvn/version "1.10.3"}} | ||
:mvn/repos {"sonatype-oss-public" | ||
{:url "https://oss.sonatype.org/content/groups/public/"}} | ||
:aliases {:test | ||
{:extra-deps {org.typedclojure/typed.clj.checker | ||
{:local/root "../clj.checker" | ||
:deps/manifest :deps}} | ||
:extra-paths ["test"]} | ||
:nREPL | ||
{:extra-deps | ||
{nrepl/nrepl {:mvn/version "0.8.3"} | ||
cider/cider-nrepl {:mvn/version "0.25.3"}}, | ||
:main-opts ["-m" "nrepl.cmdline" | ||
"--interactive" | ||
"--middleware" "[\"cider.nrepl/cider-middleware\"]"]} | ||
|
||
:codox | ||
{:extra-deps {codox/codox {:mvn/version "0.10.7"}} | ||
:extra-paths ["script"] | ||
:main-opts ["-m" "gen-doc"]} | ||
|
||
:runner | ||
{:extra-deps {io.github.cognitect-labs/test-runner | ||
{:git/url "https://github.com/cognitect-labs/test-runner" | ||
:sha "4e7e1c0dfd5291fa2134df052443dc29695d8cbe"}} | ||
:main-opts ["-m" "cognitect.test-runner" | ||
"-d" "test" | ||
"-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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- DO NOT EDIT! Instead, edit `dev/resources/root-templates/typed/lib.spec.alpha/pom.xml` and run `./script/regen-selmer.sh` --> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.typedclojure</groupId> | ||
<artifactId>typed.lib.spec.alpha</artifactId> | ||
<description>FIXME</description> | ||
<name>typed.lib.spec.alpha</name> | ||
<version>1.0.20-SNAPSHOT</version> | ||
|
||
<licenses> | ||
<license> | ||
<name>Eclipse Public License 1.0</name> | ||
<url>http://opensource.org/licenses/eclipse-1.0.php</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<parent> | ||
<groupId>org.typedclojure</groupId> | ||
<artifactId>pom.typed</artifactId> | ||
<version>1.0.20-SNAPSHOT</version> | ||
<relativePath>../..</relativePath> | ||
</parent> | ||
</project> |
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,3 @@ | ||
#!/bin/sh | ||
|
||
clojure -M:codox: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,10 @@ | ||
(ns gen-doc | ||
(:require [codox.main :as codox])) | ||
|
||
(defn -main [& args] | ||
(codox/generate-docs | ||
{:language :clojure | ||
:source-uri "https://github.com/typedclojure/typedclojure/blob/{git-commit}/typed.lib.spec.alpha/{filepath}#L{line}" | ||
:output-path "target/codox"}) | ||
(shutdown-agents) | ||
(System/exit 0)) |
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,3 @@ | ||
#!/bin/sh | ||
|
||
clj -M:test:nREPL "$@" |
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,3 @@ | ||
#!/bin/sh | ||
|
||
clojure "$@" -M:test:runner |
Oops, something went wrong.