Skip to content

Commit

Permalink
Merge branch 'JetBrains:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
rockedu authored Apr 25, 2024
2 parents 5776a69 + 2b33327 commit 72f6703
Show file tree
Hide file tree
Showing 6,330 changed files with 11,164 additions and 871 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Compile and run Kotlin
run: |
kotlinc src/main/kotlin/swot -include-runtime -d swot.jar
java -jar swot.jar
- name: Move the 'latest' tag to the head commit
run: |
git tag latest
git push origin latest -f
- name: Release swot.txt
uses: softprops/action-gh-release@v1
with:
files: out/artifacts/swot.txt
tag_name: latest
body: ${{ github.event.head_commit.message }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ Gemfile.lock
*.gem
.bundle
.idea
.gradle
build
/lib/domains/stoplist-old.txt
/lib/domains/stoplistsort.py
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/artifacts/swot_jar.xml

This file was deleted.

23 changes: 0 additions & 23 deletions .idea/compiler.xml

This file was deleted.

3 changes: 0 additions & 3 deletions .idea/copyright/profiles_settings.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/encodings.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/libraries/KotlinJavaRuntime.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/libraries/junit.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

23 changes: 0 additions & 23 deletions .idea/runConfigurations/Build_Swot.xml

This file was deleted.

30 changes: 0 additions & 30 deletions .idea/runConfigurations/SwotTest.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/scopes/scope_settings.xml

This file was deleted.

125 changes: 0 additions & 125 deletions .idea/uiDesigner.xml

This file was deleted.

1 change: 0 additions & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to Swot

If you did not contribute to this repository before, please read the repository rules at the bottom of [this page](https://github.com/JetBrains/swot/).
If you did not contribute to this repository before, please read [the repository rules](https://github.com/JetBrains/swot/tree/master#swot).

#### Data Contributions

Expand Down
29 changes: 29 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
group = "swot"
version = "0.1"

plugins {
kotlin("jvm") version "1.7.0" apply true

id("application")
}

repositories {
mavenCentral()
}

dependencies {
implementation(kotlin("stdlib"))
testImplementation("junit", "junit", "4.13.2")
}

application {
mainClass.set("swot.CompilerKt")
}

tasks.withType<Test> {
useJUnit()

testLogging {
events("passed", "skipped", "failed")
}
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 72f6703

Please sign in to comment.