Moved compiler to subproject

This commit is contained in:
Chad Retz 2017-04-24 18:49:54 -05:00
parent 5430e19a2b
commit d94b5ce898
81 changed files with 28 additions and 20 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/.idea /.idea
/build /build
/gradle /gradle
/compiler/build

4
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "src/test/resources/spec"] [submodule "compiler/src/test/resources/spec"]
path = src/test/resources/spec path = compiler/src/test/resources/spec
url = https://github.com/WebAssembly/spec.git url = https://github.com/WebAssembly/spec.git

View File

@ -13,15 +13,20 @@ buildscript {
} }
} }
allprojects {
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = "asmble.cli.MainKt"
repositories { repositories {
mavenCentral() mavenCentral()
} }
}
project(':compiler') {
apply plugin: 'kotlin'
apply plugin: 'application'
applicationName = "asmble"
mainClassName = "asmble.cli.MainKt"
distTar.archiveName = 'asmble.tar' distTar.archiveName = 'asmble.tar'
distZip.archiveName = 'asmble.zip' distZip.archiveName = 'asmble.zip'
@ -35,3 +40,4 @@ dependencies {
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
testCompile "org.ow2.asm:asm-debug-all:$asm_version" testCompile "org.ow2.asm:asm-debug-all:$asm_version"
} }
}

View File

@ -1 +1,2 @@
rootProject.name = 'asmble' rootProject.name = 'asmble'
include 'compiler'