Skip to content

Commit

Permalink
add license to project #168
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Fomkin committed Jul 19, 2018
1 parent 9bed346 commit 577dacd
Show file tree
Hide file tree
Showing 147 changed files with 3,046 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Expand Up @@ -16,7 +16,7 @@ pipeline:
- export SBT_OPTS='-Dsbt.global.base=/workdir/sbt/ -Dsbt.ivy.home=/workdir/ivy/ -Divy.home=/workdir/ivy/'
- git clone https://github.com/expload/scala-abci-server.git scala-abci-server --depth 1
- cd /workdir/code/scala-abci-server && sbt $SBT_OPTS publishLocal
- cd /workdir/code && sbt $SBT_OPTS -mem 2048 scalafmtCheck scalafixTest test
- cd /workdir/code && sbt $SBT_OPTS -mem 2048 headerCheck scalafmtCheck scalafixTest test
package:
image: gcr.io/time-coin/sbt:latest
volumes:
Expand Down
607 changes: 607 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions build.sbt
Expand Up @@ -6,7 +6,7 @@ resolvers += Resolver.bintrayRepo("expload", "oss")
enablePlugins(GitVersioning)

skip in publish := true

headerLicense := Some(HeaderLicense.AGPLv3("2018", "Expload"))
git.formattedShaVersion := git.gitHeadCommit.value map { sha => sha.take(8) }
git.gitTagToVersionNumber := { tag: String =>
if (tag.length > 0) Some(tag)
Expand All @@ -28,7 +28,8 @@ val commonSettings = Seq(
organization := "com.expload",

licenses += ("AGPL-V3", url("http://www.opensource.org/licenses/agpl-v3.html")),

headerLicense := Some(HeaderLicense.AGPLv3("2018", "Expload.com")),
excludeFilter.in(headerSources) := HiddenFileFilter || "ed25519.java" || "ripemd160.java",
skip in publish := false,
bintrayOrganization := Some("expload"),
bintrayRepository := "oss",
Expand Down Expand Up @@ -269,7 +270,8 @@ lazy val cli = (project in file("cli"))
lazy val `gen-doc` = (project in file("doc") / "gen")
.settings(
skip in publish := true,
normalizedName := "pravda-gen-doc"
normalizedName := "pravda-gen-doc",
headerLicense := Some(HeaderLicense.AGPLv3("2018", "Expload"))
)
.dependsOn(cli)
.dependsOn(vm)
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/Pravda.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli

import akka.actor.ActorSystem
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/PravdaArgsParser.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli

import java.io.File
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/PravdaConfig.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli

import pravda.common.domain.NativeCoin
Expand Down
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages

import com.google.protobuf.ByteString
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/languages/CompilersLanguage.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages

import com.google.protobuf.ByteString
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/languages/IoLanguage.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages

import com.google.protobuf.ByteString
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/languages/NodeLanguage.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages

import com.google.protobuf.ByteString
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/languages/RandomLanguage.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages

import com.google.protobuf.ByteString
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/languages/VmLanguage.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages

import com.google.protobuf.ByteString
Expand Down
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages.impl

import com.google.protobuf.ByteString
Expand Down
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages

package impl
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/languages/impl/IoLanguageImpl.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages

package impl
Expand Down
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages.impl

import akka.actor.ActorSystem
Expand Down
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages

package impl
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/languages/impl/VmLanguageImpl.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.languages

package impl
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/programs/Broadcast.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.programs

import cats._
Expand Down
17 changes: 17 additions & 0 deletions cli/src/main/scala/pravda/cli/programs/Codegen.scala
@@ -1,3 +1,20 @@
/*
* Copyright (C) 2018 Expload.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package pravda.cli.programs

import cats.Monad
Expand Down

0 comments on commit 577dacd

Please sign in to comment.