-
Notifications
You must be signed in to change notification settings - Fork 1
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
25 changed files
with
1,133 additions
and
702 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,18 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: '11.0.5' | ||
- name: Install dependencies | ||
run: lein deps | ||
- name: Run tests | ||
run: lein 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 |
---|---|---|
@@ -1,17 +1,25 @@ | ||
.idea/ | ||
target/ | ||
pom.xml | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
pom.xml.next | ||
starfish-clj.iml | ||
release.properties | ||
dependency-reduced-pom.xml | ||
buildNumber.properties | ||
.mvn/timing.properties | ||
.lein-failures | ||
.lein-repl-history | ||
.nrepl-port | ||
|
||
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored) | ||
!/.mvn/wrapper/maven-wrapper.jar | ||
/.project | ||
/.classpath | ||
/.settings/ | ||
/codox | ||
/bin/ | ||
/pom.xml.asc | ||
.cpcache/ |
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,15 @@ | ||
language: clojure | ||
lein: lein | ||
dist: xenial | ||
jdk: | ||
- oraclejdk11 | ||
- openjdk11 | ||
|
||
addons: | ||
ssh_known_hosts: shrimp.octet.services | ||
|
||
script: lein do clean, test :integration :default | ||
script: lein do clean, test :default | ||
|
||
branches: | ||
only: | ||
- master | ||
- develop |
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,30 +1,34 @@ | ||
(defproject sg.dex/starfish-clj "0.5.2-SNAPSHOT" | ||
(defproject sg.dex/starfish-clj "0.8.0" | ||
:url "https://github.com/DEX-Company/starfish-clj" | ||
:dependencies [ | ||
[sg.dex/starfish-java "0.6.0"] | ||
[org.slf4j/jcl-over-slf4j "1.8.0-alpha2"] | ||
[org.clojure/data.json "0.2.6"] | ||
:dependencies [[sg.dex/starfish-java "0.8.1"] | ||
[org.clojure/data.json "0.2.7"] | ||
[org.clojure/data.csv "0.1.4"] | ||
[clojurewerkz/propertied "1.3.0"] | ||
[org.clojure/data.csv "0.1.4"]] | ||
:exclusions [commons-logging/commons-logging] | ||
:managed-dependencies [[com.fasterxml.jackson.core/jackson-databind "2.9.8"]] | ||
|
||
:javac-options ["-target" "1.8", "-source" "1.8"] | ||
;; Used to fix JCL issues with Apache HTTP logging via JCL | ||
[org.slf4j/jcl-over-slf4j "1.7.30"]] | ||
|
||
;; :javac-options ["-target" "8", "-source" "8"] ; TODO figure out of this is helpful? Causes a warning | ||
:target-path "target/%s/" | ||
:java-source-paths ["src/main/java"] | ||
:source-paths ["src/main/clojure"] | ||
:test-paths ["src/test/clojure"] | ||
:test-paths ["src/test/clojure" "src/test/java"] | ||
:test-selectors {:default (complement :integration) | ||
:integration :integration} | ||
:plugins [[lein-codox "0.10.7"]] | ||
:plugins [[lein-codox "0.10.7"] | ||
[lein-ancient "0.6.15"]] | ||
:codox {:output-path "codox"} | ||
:min-lein-version "2.8.1" | ||
:lein-release {:deploy-via :clojars} | ||
:profiles {:dev {:dependencies [[org.clojure/clojure "1.10.0"]] | ||
|
||
:deploy-repositories [["releases" :clojars] | ||
["snapshots" :clojars]] | ||
|
||
:profiles {:dev {:source-paths ["src/dev"] | ||
:resource-paths ["src/test/resources"] | ||
} | ||
:test {:dependencies [[net.mikera/cljunit "0.6.0" :scope "test"] | ||
] | ||
:dependencies [[org.clojure/clojure "1.10.1"] | ||
[net.mikera/cljunit "0.7.0" :scope "test"]]} | ||
|
||
:test {:dependencies [] | ||
:java-source-paths ["src/main/java" "src/test/java"] | ||
;; :source-paths ["src/main/clojure" "src/test/clojure"] | ||
:resource-paths ["src/main/resources" "src/test/resources"] | ||
}} | ||
) | ||
:resource-paths ["src/main/resources" "src/test/resources"]}}) |
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,19 @@ | ||
(ns dev | ||
(:require [starfish.core :as sf])) | ||
|
||
(comment | ||
(defn demo-operation1 | ||
"Demo Operation 1" | ||
[x] | ||
nil) | ||
|
||
(defn demo-operation2 | ||
[asset-x] | ||
nil) | ||
|
||
(sf/invokable-metadata #'demo-operation1) | ||
(sf/invokable-metadata #'demo-operation2) | ||
|
||
(sf/metadata (sf/in-memory-operation (sf/invokable-metadata #'demo-operation1))) | ||
|
||
) |
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,5 @@ | ||
(ns user) | ||
|
||
(defn dev [] | ||
(require 'dev) | ||
(in-ns 'dev)) |
Oops, something went wrong.