The core of a web spider based on Kotlin JavaScript mode
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src
test
.gitignore
LICENSE
README.md
appveyor.yml
build.gradle
gradlew
gradlew.bat
package.json
settings.gradle

README.md

Posgen

Build status

This is a very simple program for personal usage.

Download release

Api

See this interface file.

It's Kotlin but it shows all the interface provided.

Build and test

This project is cross-kotlin-backend. When testing, use the JVM-backend of Kotlin. Otherwise use the JS-backend.

Build

Building this project under KotlinJS is quite simple:

$ gradle zipWeb
$ npm install

Test

Since unit-testing on KotlinJS is quite painful, I used Kotlin JVM to do unit-testing.

You should edit build.gradle. Find this line (in the top few lines, this should be easy):

def runTestMode = false

Change it to:

def runTestMode = true

Then run:

$ gradle test