From a46fa5ee9e20732562f2a1b0373ecc231b3c4e8f Mon Sep 17 00:00:00 2001 From: Giovanni Date: Mon, 25 Jul 2022 10:35:53 +0200 Subject: [PATCH] Initial commit --- .gitignore | 136 ++++++++++++++++++++++++++++++++++++++ README.md | 1 + build.sbt | 8 +++ project/build.properties | 1 + sql/docker-compose.yml | 0 src/main/scala/Main.scala | 5 ++ 6 files changed, 151 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 build.sbt create mode 100644 project/build.properties create mode 100644 sql/docker-compose.yml create mode 100644 src/main/scala/Main.scala diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8f4ee1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,136 @@ +# Created by https://www.toptal.com/developers/gitignore/api/macos,intellij+all,scala +# Edit at https://www.toptal.com/developers/gitignore?templates=macos,intellij+all,scala + +### Intellij+all ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +### Intellij+all Patch ### +# Ignore everything but code style settings and run configurations +# that are supposed to be shared within teams. + +.idea/* + +.idea/codeStyles +!.idea/runConfigurations + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +### Scala ### +*.class +*.log + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# End of https://www.toptal.com/developers/gitignore/api/macos,intellij+all,scala +## macos - intellij + all - scala + +### my adds +# remove bang (!) from .idea/codeStyle \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..4649ae2 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# supermaket diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..9e5aaf7 --- /dev/null +++ b/build.sbt @@ -0,0 +1,8 @@ +ThisBuild / version := "0.1.0-SNAPSHOT" + +ThisBuild / scalaVersion := "2.13.8" + +lazy val root = (project in file(".")) + .settings( + name := "supermaket" + ) diff --git a/project/build.properties b/project/build.properties new file mode 100644 index 0000000..d738b85 --- /dev/null +++ b/project/build.properties @@ -0,0 +1 @@ +sbt.version = 1.7.1 diff --git a/sql/docker-compose.yml b/sql/docker-compose.yml new file mode 100644 index 0000000..e69de29 diff --git a/src/main/scala/Main.scala b/src/main/scala/Main.scala new file mode 100644 index 0000000..6650aa2 --- /dev/null +++ b/src/main/scala/Main.scala @@ -0,0 +1,5 @@ +object Main { + def main(args: Array[String]): Unit = { + println("Hello world!") + } +} \ No newline at end of file