diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b748c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# use glob syntax. +syntax: glob +*.ser +*.class +*~ +*.bak +*.off +*.old +.DS_Store +/.direnv/ + +# eclipse conf file +.settings +.classpath +.project +.manager + +# building +target +null +tmp* +dist +test-output + +# other scm +.svn +.CVS +.hg* + +# switch to regexp syntax. +# syntax: regexp +# ^\.pc/ + +# IntelliJ +*.iws +*.ids +.idea +#.idea/workspace.xml +#.idea/tasks.xml +#.idea/datasources.xml +#.idea/libraries +#.idea/dictionaries + +# vim files +Session.vim +tags +.tags + +# Python compiled files +*.pyc + +# Vagrant files +.vagrant + +#Cache files +.cache + +#scripts +bin + +#is modules +node_modules +ext-lib + +#netbeans project +nbproject + +.idea_modules +logs + +# ensime project files +.ensime +.ensime_cache/ + +#local ensime config +ensime.sbt + +#visual code +.vscode + +# bloop +.bloop/ +.bsp/ +.metals/ +metals.sbt +out/ + +# semanticdb +*.semanticdb diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b748c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# use glob syntax. +syntax: glob +*.ser +*.class +*~ +*.bak +*.off +*.old +.DS_Store +/.direnv/ + +# eclipse conf file +.settings +.classpath +.project +.manager + +# building +target +null +tmp* +dist +test-output + +# other scm +.svn +.CVS +.hg* + +# switch to regexp syntax. +# syntax: regexp +# ^\.pc/ + +# IntelliJ +*.iws +*.ids +.idea +#.idea/workspace.xml +#.idea/tasks.xml +#.idea/datasources.xml +#.idea/libraries +#.idea/dictionaries + +# vim files +Session.vim +tags +.tags + +# Python compiled files +*.pyc + +# Vagrant files +.vagrant + +#Cache files +.cache + +#scripts +bin + +#is modules +node_modules +ext-lib + +#netbeans project +nbproject + +.idea_modules +logs + +# ensime project files +.ensime +.ensime_cache/ + +#local ensime config +ensime.sbt + +#visual code +.vscode + +# bloop +.bloop/ +.bsp/ +.metals/ +metals.sbt +out/ + +# semanticdb +*.semanticdb diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..52fc2f1 --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,8 @@ +version = "3.0.0" + +// fileOverride { +// "glob:**/services/{documents,ares}/src/{main,test}/scala/**" { +// runner.dialect = scala3 +// } +// } +runner.dialect = scala3 diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b748c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# use glob syntax. +syntax: glob +*.ser +*.class +*~ +*.bak +*.off +*.old +.DS_Store +/.direnv/ + +# eclipse conf file +.settings +.classpath +.project +.manager + +# building +target +null +tmp* +dist +test-output + +# other scm +.svn +.CVS +.hg* + +# switch to regexp syntax. +# syntax: regexp +# ^\.pc/ + +# IntelliJ +*.iws +*.ids +.idea +#.idea/workspace.xml +#.idea/tasks.xml +#.idea/datasources.xml +#.idea/libraries +#.idea/dictionaries + +# vim files +Session.vim +tags +.tags + +# Python compiled files +*.pyc + +# Vagrant files +.vagrant + +#Cache files +.cache + +#scripts +bin + +#is modules +node_modules +ext-lib + +#netbeans project +nbproject + +.idea_modules +logs + +# ensime project files +.ensime +.ensime_cache/ + +#local ensime config +ensime.sbt + +#visual code +.vscode + +# bloop +.bloop/ +.bsp/ +.metals/ +metals.sbt +out/ + +# semanticdb +*.semanticdb diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..52fc2f1 --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,8 @@ +version = "3.0.0" + +// fileOverride { +// "glob:**/services/{documents,ares}/src/{main,test}/scala/**" { +// runner.dialect = scala3 +// } +// } +runner.dialect = scala3 diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..1682303 --- /dev/null +++ b/build.sbt @@ -0,0 +1,10 @@ +ThisBuild / version := "0.1.0-SNAPSHOT" + +ThisBuild / scalaVersion := scala3Version + +lazy val app = (project in file("app")) + +lazy val root = (project in file(".")) + .settings(name := "mdr-personnel-db", publish / skip := true) + // Auto activates for all projects, but make sure we have required dependencies + .enablePlugins(IWScalaProjectPlugin) diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b748c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# use glob syntax. +syntax: glob +*.ser +*.class +*~ +*.bak +*.off +*.old +.DS_Store +/.direnv/ + +# eclipse conf file +.settings +.classpath +.project +.manager + +# building +target +null +tmp* +dist +test-output + +# other scm +.svn +.CVS +.hg* + +# switch to regexp syntax. +# syntax: regexp +# ^\.pc/ + +# IntelliJ +*.iws +*.ids +.idea +#.idea/workspace.xml +#.idea/tasks.xml +#.idea/datasources.xml +#.idea/libraries +#.idea/dictionaries + +# vim files +Session.vim +tags +.tags + +# Python compiled files +*.pyc + +# Vagrant files +.vagrant + +#Cache files +.cache + +#scripts +bin + +#is modules +node_modules +ext-lib + +#netbeans project +nbproject + +.idea_modules +logs + +# ensime project files +.ensime +.ensime_cache/ + +#local ensime config +ensime.sbt + +#visual code +.vscode + +# bloop +.bloop/ +.bsp/ +.metals/ +metals.sbt +out/ + +# semanticdb +*.semanticdb diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..52fc2f1 --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,8 @@ +version = "3.0.0" + +// fileOverride { +// "glob:**/services/{documents,ares}/src/{main,test}/scala/**" { +// runner.dialect = scala3 +// } +// } +runner.dialect = scala3 diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..1682303 --- /dev/null +++ b/build.sbt @@ -0,0 +1,10 @@ +ThisBuild / version := "0.1.0-SNAPSHOT" + +ThisBuild / scalaVersion := scala3Version + +lazy val app = (project in file("app")) + +lazy val root = (project in file(".")) + .settings(name := "mdr-personnel-db", publish / skip := true) + // Auto activates for all projects, but make sure we have required dependencies + .enablePlugins(IWScalaProjectPlugin) diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..37f4fcc --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1642700792, + "narHash": "sha256-XqHrk7hFb+zBvRg6Ghl+AZDq03ov6OshJLiSWOoX5es=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "846b2ae0fc4cc943637d3d1def4454213e203cba", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1643524588, + "narHash": "sha256-Qh5AazxdOQRORbGkkvpKoovDl6ej/4PhDabFsqnueqw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "efeefb2af1469a5d1f0ae7ca8f0dfd9bb87d5cfb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b748c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# use glob syntax. +syntax: glob +*.ser +*.class +*~ +*.bak +*.off +*.old +.DS_Store +/.direnv/ + +# eclipse conf file +.settings +.classpath +.project +.manager + +# building +target +null +tmp* +dist +test-output + +# other scm +.svn +.CVS +.hg* + +# switch to regexp syntax. +# syntax: regexp +# ^\.pc/ + +# IntelliJ +*.iws +*.ids +.idea +#.idea/workspace.xml +#.idea/tasks.xml +#.idea/datasources.xml +#.idea/libraries +#.idea/dictionaries + +# vim files +Session.vim +tags +.tags + +# Python compiled files +*.pyc + +# Vagrant files +.vagrant + +#Cache files +.cache + +#scripts +bin + +#is modules +node_modules +ext-lib + +#netbeans project +nbproject + +.idea_modules +logs + +# ensime project files +.ensime +.ensime_cache/ + +#local ensime config +ensime.sbt + +#visual code +.vscode + +# bloop +.bloop/ +.bsp/ +.metals/ +metals.sbt +out/ + +# semanticdb +*.semanticdb diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..52fc2f1 --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,8 @@ +version = "3.0.0" + +// fileOverride { +// "glob:**/services/{documents,ares}/src/{main,test}/scala/**" { +// runner.dialect = scala3 +// } +// } +runner.dialect = scala3 diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..1682303 --- /dev/null +++ b/build.sbt @@ -0,0 +1,10 @@ +ThisBuild / version := "0.1.0-SNAPSHOT" + +ThisBuild / scalaVersion := scala3Version + +lazy val app = (project in file("app")) + +lazy val root = (project in file(".")) + .settings(name := "mdr-personnel-db", publish / skip := true) + // Auto activates for all projects, but make sure we have required dependencies + .enablePlugins(IWScalaProjectPlugin) diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..37f4fcc --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1642700792, + "narHash": "sha256-XqHrk7hFb+zBvRg6Ghl+AZDq03ov6OshJLiSWOoX5es=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "846b2ae0fc4cc943637d3d1def4454213e203cba", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1643524588, + "narHash": "sha256-Qh5AazxdOQRORbGkkvpKoovDl6ej/4PhDabFsqnueqw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "efeefb2af1469a5d1f0ae7ca8f0dfd9bb87d5cfb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d729808 --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +{ + description = "MDR Personální databáze"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { + inherit system; + overlays = [ + (final: prev: rec { + jre = prev.adoptopenjdk-hotspot-bin-11; + jdk = jre; + }) + ]; + }; + in { devShell = import ./shell.nix { inherit pkgs; }; }); +} diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b748c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# use glob syntax. +syntax: glob +*.ser +*.class +*~ +*.bak +*.off +*.old +.DS_Store +/.direnv/ + +# eclipse conf file +.settings +.classpath +.project +.manager + +# building +target +null +tmp* +dist +test-output + +# other scm +.svn +.CVS +.hg* + +# switch to regexp syntax. +# syntax: regexp +# ^\.pc/ + +# IntelliJ +*.iws +*.ids +.idea +#.idea/workspace.xml +#.idea/tasks.xml +#.idea/datasources.xml +#.idea/libraries +#.idea/dictionaries + +# vim files +Session.vim +tags +.tags + +# Python compiled files +*.pyc + +# Vagrant files +.vagrant + +#Cache files +.cache + +#scripts +bin + +#is modules +node_modules +ext-lib + +#netbeans project +nbproject + +.idea_modules +logs + +# ensime project files +.ensime +.ensime_cache/ + +#local ensime config +ensime.sbt + +#visual code +.vscode + +# bloop +.bloop/ +.bsp/ +.metals/ +metals.sbt +out/ + +# semanticdb +*.semanticdb diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..52fc2f1 --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,8 @@ +version = "3.0.0" + +// fileOverride { +// "glob:**/services/{documents,ares}/src/{main,test}/scala/**" { +// runner.dialect = scala3 +// } +// } +runner.dialect = scala3 diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..1682303 --- /dev/null +++ b/build.sbt @@ -0,0 +1,10 @@ +ThisBuild / version := "0.1.0-SNAPSHOT" + +ThisBuild / scalaVersion := scala3Version + +lazy val app = (project in file("app")) + +lazy val root = (project in file(".")) + .settings(name := "mdr-personnel-db", publish / skip := true) + // Auto activates for all projects, but make sure we have required dependencies + .enablePlugins(IWScalaProjectPlugin) diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..37f4fcc --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1642700792, + "narHash": "sha256-XqHrk7hFb+zBvRg6Ghl+AZDq03ov6OshJLiSWOoX5es=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "846b2ae0fc4cc943637d3d1def4454213e203cba", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1643524588, + "narHash": "sha256-Qh5AazxdOQRORbGkkvpKoovDl6ej/4PhDabFsqnueqw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "efeefb2af1469a5d1f0ae7ca8f0dfd9bb87d5cfb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d729808 --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +{ + description = "MDR Personální databáze"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { + inherit system; + overlays = [ + (final: prev: rec { + jre = prev.adoptopenjdk-hotspot-bin-11; + jdk = jre; + }) + ]; + }; + in { devShell = import ./shell.nix { inherit pkgs; }; }); +} diff --git a/project/build.properties b/project/build.properties new file mode 100644 index 0000000..3161d21 --- /dev/null +++ b/project/build.properties @@ -0,0 +1 @@ +sbt.version=1.6.1 diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b748c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# use glob syntax. +syntax: glob +*.ser +*.class +*~ +*.bak +*.off +*.old +.DS_Store +/.direnv/ + +# eclipse conf file +.settings +.classpath +.project +.manager + +# building +target +null +tmp* +dist +test-output + +# other scm +.svn +.CVS +.hg* + +# switch to regexp syntax. +# syntax: regexp +# ^\.pc/ + +# IntelliJ +*.iws +*.ids +.idea +#.idea/workspace.xml +#.idea/tasks.xml +#.idea/datasources.xml +#.idea/libraries +#.idea/dictionaries + +# vim files +Session.vim +tags +.tags + +# Python compiled files +*.pyc + +# Vagrant files +.vagrant + +#Cache files +.cache + +#scripts +bin + +#is modules +node_modules +ext-lib + +#netbeans project +nbproject + +.idea_modules +logs + +# ensime project files +.ensime +.ensime_cache/ + +#local ensime config +ensime.sbt + +#visual code +.vscode + +# bloop +.bloop/ +.bsp/ +.metals/ +metals.sbt +out/ + +# semanticdb +*.semanticdb diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..52fc2f1 --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,8 @@ +version = "3.0.0" + +// fileOverride { +// "glob:**/services/{documents,ares}/src/{main,test}/scala/**" { +// runner.dialect = scala3 +// } +// } +runner.dialect = scala3 diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..1682303 --- /dev/null +++ b/build.sbt @@ -0,0 +1,10 @@ +ThisBuild / version := "0.1.0-SNAPSHOT" + +ThisBuild / scalaVersion := scala3Version + +lazy val app = (project in file("app")) + +lazy val root = (project in file(".")) + .settings(name := "mdr-personnel-db", publish / skip := true) + // Auto activates for all projects, but make sure we have required dependencies + .enablePlugins(IWScalaProjectPlugin) diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..37f4fcc --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1642700792, + "narHash": "sha256-XqHrk7hFb+zBvRg6Ghl+AZDq03ov6OshJLiSWOoX5es=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "846b2ae0fc4cc943637d3d1def4454213e203cba", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1643524588, + "narHash": "sha256-Qh5AazxdOQRORbGkkvpKoovDl6ej/4PhDabFsqnueqw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "efeefb2af1469a5d1f0ae7ca8f0dfd9bb87d5cfb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d729808 --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +{ + description = "MDR Personální databáze"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { + inherit system; + overlays = [ + (final: prev: rec { + jre = prev.adoptopenjdk-hotspot-bin-11; + jdk = jre; + }) + ]; + }; + in { devShell = import ./shell.nix { inherit pkgs; }; }); +} diff --git a/project/build.properties b/project/build.properties new file mode 100644 index 0000000..3161d21 --- /dev/null +++ b/project/build.properties @@ -0,0 +1 @@ +sbt.version=1.6.1 diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 0000000..cf3faa4 --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1,3 @@ +addIWProjects + +addScalaJSSupport diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b748c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# use glob syntax. +syntax: glob +*.ser +*.class +*~ +*.bak +*.off +*.old +.DS_Store +/.direnv/ + +# eclipse conf file +.settings +.classpath +.project +.manager + +# building +target +null +tmp* +dist +test-output + +# other scm +.svn +.CVS +.hg* + +# switch to regexp syntax. +# syntax: regexp +# ^\.pc/ + +# IntelliJ +*.iws +*.ids +.idea +#.idea/workspace.xml +#.idea/tasks.xml +#.idea/datasources.xml +#.idea/libraries +#.idea/dictionaries + +# vim files +Session.vim +tags +.tags + +# Python compiled files +*.pyc + +# Vagrant files +.vagrant + +#Cache files +.cache + +#scripts +bin + +#is modules +node_modules +ext-lib + +#netbeans project +nbproject + +.idea_modules +logs + +# ensime project files +.ensime +.ensime_cache/ + +#local ensime config +ensime.sbt + +#visual code +.vscode + +# bloop +.bloop/ +.bsp/ +.metals/ +metals.sbt +out/ + +# semanticdb +*.semanticdb diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..52fc2f1 --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,8 @@ +version = "3.0.0" + +// fileOverride { +// "glob:**/services/{documents,ares}/src/{main,test}/scala/**" { +// runner.dialect = scala3 +// } +// } +runner.dialect = scala3 diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..1682303 --- /dev/null +++ b/build.sbt @@ -0,0 +1,10 @@ +ThisBuild / version := "0.1.0-SNAPSHOT" + +ThisBuild / scalaVersion := scala3Version + +lazy val app = (project in file("app")) + +lazy val root = (project in file(".")) + .settings(name := "mdr-personnel-db", publish / skip := true) + // Auto activates for all projects, but make sure we have required dependencies + .enablePlugins(IWScalaProjectPlugin) diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..37f4fcc --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1642700792, + "narHash": "sha256-XqHrk7hFb+zBvRg6Ghl+AZDq03ov6OshJLiSWOoX5es=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "846b2ae0fc4cc943637d3d1def4454213e203cba", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1643524588, + "narHash": "sha256-Qh5AazxdOQRORbGkkvpKoovDl6ej/4PhDabFsqnueqw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "efeefb2af1469a5d1f0ae7ca8f0dfd9bb87d5cfb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d729808 --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +{ + description = "MDR Personální databáze"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { + inherit system; + overlays = [ + (final: prev: rec { + jre = prev.adoptopenjdk-hotspot-bin-11; + jdk = jre; + }) + ]; + }; + in { devShell = import ./shell.nix { inherit pkgs; }; }); +} diff --git a/project/build.properties b/project/build.properties new file mode 100644 index 0000000..3161d21 --- /dev/null +++ b/project/build.properties @@ -0,0 +1 @@ +sbt.version=1.6.1 diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 0000000..cf3faa4 --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1,3 @@ +addIWProjects + +addScalaJSSupport diff --git a/project/project/plugins.sbt b/project/project/plugins.sbt new file mode 100644 index 0000000..4b18832 --- /dev/null +++ b/project/project/plugins.sbt @@ -0,0 +1,5 @@ +resolvers += "IW releases" at "https://dig.iterative.works/maven/releases" + +resolvers += "IW snapshots" at "https://dig.iterative.works/maven/snapshots" + +addSbtPlugin("works.iterative.sbt" % "sbt-iw-plugin-presets" % "0.3.0-SNAPSHOT") diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b748c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# use glob syntax. +syntax: glob +*.ser +*.class +*~ +*.bak +*.off +*.old +.DS_Store +/.direnv/ + +# eclipse conf file +.settings +.classpath +.project +.manager + +# building +target +null +tmp* +dist +test-output + +# other scm +.svn +.CVS +.hg* + +# switch to regexp syntax. +# syntax: regexp +# ^\.pc/ + +# IntelliJ +*.iws +*.ids +.idea +#.idea/workspace.xml +#.idea/tasks.xml +#.idea/datasources.xml +#.idea/libraries +#.idea/dictionaries + +# vim files +Session.vim +tags +.tags + +# Python compiled files +*.pyc + +# Vagrant files +.vagrant + +#Cache files +.cache + +#scripts +bin + +#is modules +node_modules +ext-lib + +#netbeans project +nbproject + +.idea_modules +logs + +# ensime project files +.ensime +.ensime_cache/ + +#local ensime config +ensime.sbt + +#visual code +.vscode + +# bloop +.bloop/ +.bsp/ +.metals/ +metals.sbt +out/ + +# semanticdb +*.semanticdb diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..52fc2f1 --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,8 @@ +version = "3.0.0" + +// fileOverride { +// "glob:**/services/{documents,ares}/src/{main,test}/scala/**" { +// runner.dialect = scala3 +// } +// } +runner.dialect = scala3 diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..1682303 --- /dev/null +++ b/build.sbt @@ -0,0 +1,10 @@ +ThisBuild / version := "0.1.0-SNAPSHOT" + +ThisBuild / scalaVersion := scala3Version + +lazy val app = (project in file("app")) + +lazy val root = (project in file(".")) + .settings(name := "mdr-personnel-db", publish / skip := true) + // Auto activates for all projects, but make sure we have required dependencies + .enablePlugins(IWScalaProjectPlugin) diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..37f4fcc --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1642700792, + "narHash": "sha256-XqHrk7hFb+zBvRg6Ghl+AZDq03ov6OshJLiSWOoX5es=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "846b2ae0fc4cc943637d3d1def4454213e203cba", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1643524588, + "narHash": "sha256-Qh5AazxdOQRORbGkkvpKoovDl6ej/4PhDabFsqnueqw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "efeefb2af1469a5d1f0ae7ca8f0dfd9bb87d5cfb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d729808 --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +{ + description = "MDR Personální databáze"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { + inherit system; + overlays = [ + (final: prev: rec { + jre = prev.adoptopenjdk-hotspot-bin-11; + jdk = jre; + }) + ]; + }; + in { devShell = import ./shell.nix { inherit pkgs; }; }); +} diff --git a/project/build.properties b/project/build.properties new file mode 100644 index 0000000..3161d21 --- /dev/null +++ b/project/build.properties @@ -0,0 +1 @@ +sbt.version=1.6.1 diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 0000000..cf3faa4 --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1,3 @@ +addIWProjects + +addScalaJSSupport diff --git a/project/project/plugins.sbt b/project/project/plugins.sbt new file mode 100644 index 0000000..4b18832 --- /dev/null +++ b/project/project/plugins.sbt @@ -0,0 +1,5 @@ +resolvers += "IW releases" at "https://dig.iterative.works/maven/releases" + +resolvers += "IW snapshots" at "https://dig.iterative.works/maven/snapshots" + +addSbtPlugin("works.iterative.sbt" % "sbt-iw-plugin-presets" % "0.3.0-SNAPSHOT") diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..bc59c53 --- /dev/null +++ b/shell.nix @@ -0,0 +1,11 @@ +{ pkgs ? import { + overlays = [ + (final: prev: rec { + jre = prev.adoptopenjdk-hotspot-bin-11; + jdk = jre; + }) + ]; +} }: + +with pkgs; +mkShell { buildInputs = [ jre ammonite coursier bloop sbt scalafmt ]; } diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b748c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,89 @@ +# use glob syntax. +syntax: glob +*.ser +*.class +*~ +*.bak +*.off +*.old +.DS_Store +/.direnv/ + +# eclipse conf file +.settings +.classpath +.project +.manager + +# building +target +null +tmp* +dist +test-output + +# other scm +.svn +.CVS +.hg* + +# switch to regexp syntax. +# syntax: regexp +# ^\.pc/ + +# IntelliJ +*.iws +*.ids +.idea +#.idea/workspace.xml +#.idea/tasks.xml +#.idea/datasources.xml +#.idea/libraries +#.idea/dictionaries + +# vim files +Session.vim +tags +.tags + +# Python compiled files +*.pyc + +# Vagrant files +.vagrant + +#Cache files +.cache + +#scripts +bin + +#is modules +node_modules +ext-lib + +#netbeans project +nbproject + +.idea_modules +logs + +# ensime project files +.ensime +.ensime_cache/ + +#local ensime config +ensime.sbt + +#visual code +.vscode + +# bloop +.bloop/ +.bsp/ +.metals/ +metals.sbt +out/ + +# semanticdb +*.semanticdb diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 0000000..52fc2f1 --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,8 @@ +version = "3.0.0" + +// fileOverride { +// "glob:**/services/{documents,ares}/src/{main,test}/scala/**" { +// runner.dialect = scala3 +// } +// } +runner.dialect = scala3 diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..1682303 --- /dev/null +++ b/build.sbt @@ -0,0 +1,10 @@ +ThisBuild / version := "0.1.0-SNAPSHOT" + +ThisBuild / scalaVersion := scala3Version + +lazy val app = (project in file("app")) + +lazy val root = (project in file(".")) + .settings(name := "mdr-personnel-db", publish / skip := true) + // Auto activates for all projects, but make sure we have required dependencies + .enablePlugins(IWScalaProjectPlugin) diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..37f4fcc --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1642700792, + "narHash": "sha256-XqHrk7hFb+zBvRg6Ghl+AZDq03ov6OshJLiSWOoX5es=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "846b2ae0fc4cc943637d3d1def4454213e203cba", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1643524588, + "narHash": "sha256-Qh5AazxdOQRORbGkkvpKoovDl6ej/4PhDabFsqnueqw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "efeefb2af1469a5d1f0ae7ca8f0dfd9bb87d5cfb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d729808 --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +{ + description = "MDR Personální databáze"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { + inherit system; + overlays = [ + (final: prev: rec { + jre = prev.adoptopenjdk-hotspot-bin-11; + jdk = jre; + }) + ]; + }; + in { devShell = import ./shell.nix { inherit pkgs; }; }); +} diff --git a/project/build.properties b/project/build.properties new file mode 100644 index 0000000..3161d21 --- /dev/null +++ b/project/build.properties @@ -0,0 +1 @@ +sbt.version=1.6.1 diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 0000000..cf3faa4 --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1,3 @@ +addIWProjects + +addScalaJSSupport diff --git a/project/project/plugins.sbt b/project/project/plugins.sbt new file mode 100644 index 0000000..4b18832 --- /dev/null +++ b/project/project/plugins.sbt @@ -0,0 +1,5 @@ +resolvers += "IW releases" at "https://dig.iterative.works/maven/releases" + +resolvers += "IW snapshots" at "https://dig.iterative.works/maven/snapshots" + +addSbtPlugin("works.iterative.sbt" % "sbt-iw-plugin-presets" % "0.3.0-SNAPSHOT") diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..bc59c53 --- /dev/null +++ b/shell.nix @@ -0,0 +1,11 @@ +{ pkgs ? import { + overlays = [ + (final: prev: rec { + jre = prev.adoptopenjdk-hotspot-bin-11; + jdk = jre; + }) + ]; +} }: + +with pkgs; +mkShell { buildInputs = [ jre ammonite coursier bloop sbt scalafmt ]; } diff --git a/src/main/scala/Stub.scala b/src/main/scala/Stub.scala new file mode 100644 index 0000000..c5cb2f6 --- /dev/null +++ b/src/main/scala/Stub.scala @@ -0,0 +1,3 @@ +class Stub { + // got any helpful boilerplate for your users? +}