Skip to content

Commit 93a98ea

Browse files
authored
Merge pull request #85 from olafurpg/new-design
2 parents b23d9c1 + b972397 commit 93a98ea

File tree

199 files changed

+23719
-1655
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+23719
-1655
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "monthly"

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: olafurpg/setup-scala@v10
13+
- run: sbt test
14+
check:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: olafurpg/setup-scala@v10
19+
- run: sbt checkAll

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [main]
5+
tags: ["*"]
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: olafurpg/setup-scala@v10
12+
- uses: olafurpg/setup-gpg@v3
13+
- run: git fetch --unshallow
14+
- name: Publish ${{ github.ref }}
15+
run: sbt ci-release
16+
env:
17+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
18+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
19+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
20+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

.github/workflows/sourcegraph.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Sourcegraph
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- olafurpg/lets-go
7+
pull_request:
8+
jobs:
9+
lsif:
10+
runs-on: ubuntu-latest
11+
name: "Upload LSIF"
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: olafurpg/setup-scala@v10
15+
- uses: actions/setup-go@v2
16+
with:
17+
go-version: "1.15.6"
18+
- run: go get github.com/sourcegraph/lsif-semanticdb/cmd/lsif-semanticdb
19+
- name: sbt sourcegraphUpload
20+
run: |
21+
mkdir -p bin
22+
curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o bin/src
23+
chmod +x bin/src
24+
export PATH="$PATH:$PWD/bin"
25+
sbt sourcegraphUpload
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 52 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,53 @@
1+
*.class
2+
*.log
3+
4+
# sbt specific
5+
.cache
6+
.history
7+
.lib/
8+
dist/*
9+
target/
10+
lib_managed/
11+
src_managed/
12+
project/boot/
13+
project/plugins/project/
14+
.bloop
15+
16+
_site/
17+
18+
# Scala-IDE specific
19+
.scala_dependencies
20+
.worksheet
21+
122
.idea
2-
target
3-
**/spoon.classpath*.tmp
4-
.classpath
5-
*.project
6-
.settings
7-
*.iml
8-
.gradle
9-
examples/**/dump.lsif
10-
build
23+
24+
# ENSIME specific
25+
.ensime_cache/
26+
.ensime
27+
28+
.metals/
29+
metals.sbt
30+
metals/project/
31+
32+
.vscode/
33+
34+
local.*
35+
36+
.DS_Store
37+
38+
node_modules
39+
40+
lib/core/metadata.js
41+
lib/core/MetadataBlog.js
42+
43+
website/translated_docs
44+
website/build/
45+
website/yarn.lock
46+
website/node_modules
47+
website/i18n/*
48+
49+
project/metals.sbt
50+
out/
51+
*.hnir
52+
test-report.json
53+
dump.lsif

.jvmopts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-Xss2m
2+
-Xms1G
3+
-Xmx4G
4+
-Dfile.encoding=UTF-8
5+
-Dsbt.server.autostart=false

.scalafix.conf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
rules = [
2+
OrganizeImports,
3+
]
4+
5+
ExplicitResultTypes.rewriteStructuralTypesToNamedSubclass = false
6+
7+
OrganizeImports.groupedImports = Explode
8+
OrganizeImports.expandRelative = true
9+
OrganizeImports.removeUnused = true
10+
OrganizeImports.groups = [
11+
"re:javax?\\."
12+
"scala."
13+
"scala.meta."
14+
"*"
15+
]

.scalafmt.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version = "2.7.5"
2+
assumeStandardLibraryStripMargin = true
3+
docstrings.style = Asterisk
4+
docstrings.wrap = "yes"
5+
project.git = true
6+
align.preset = none
7+
align.stripMargin = true
8+
newlines.source=unfold

0 commit comments

Comments
 (0)