Hello world for Remarkable API synchronization

This commit is contained in:
2021-10-01 22:53:10 -06:00
parent a64eea4cd3
commit 7812cb1912
6 changed files with 49 additions and 0 deletions

View File

@@ -153,6 +153,7 @@
// Add systems!
(archive.addSystem nameSystem)
(archive.addSystem (new RemarkableAPISystem))
(archive.addSystem (new WikipediaImageSystem))
(archive.addSystem (new ImageAttachmentSystem))
// Just for testing:

View File

@@ -0,0 +1,8 @@
package nat.systems;
import kiss.Prelude;
import kiss.List;
import nat.System;
@:build(kiss.Kiss.build())
class RemarkableAPISystem extends System {}

View File

@@ -0,0 +1,16 @@
(load "../Lib.kiss")
(defNew []
(super
->[archive e] false
->[archive e] null)
~(#extern String js
(object
hxmlFile "extern-files/js/args.hxml"
skipHaxelibInstall true
importHxFile "extern-files/js/import.hx"
langProjectFile "extern-files/js/package.json")
[]
(print "extern hello world!")))