4
0
Fork 0
mirror of https://github.com/Anvilcraft/modpacktools synced 2024-05-19 20:04:07 +02:00
Commit graph

163 commits

Author SHA1 Message Date
LordMZTE e4bae0d082 use implementation instead of compile in build script due to deprecation 2020-08-06 17:03:17 +02:00
LordMZTE 92330a4507 port build script to kotlin
yeah tilera, you are gonna love this!
2020-08-06 15:56:04 +02:00
LordMZTE 0c13479ddc improve tests 2020-08-06 12:44:10 +02:00
LordMZTE 40681a10ca remove useless accumulate function and use fold instead 2020-08-06 12:28:34 +02:00
LordMZTE 98e1bc275e add accumulate function 2020-08-06 00:21:11 +02:00
LordMZTE cfdb06cdff add test for fPrint and fix small bug 2020-08-05 19:49:10 +02:00
LordMZTE f28375a245 terminal output will now be colored if the console supports it 2020-08-05 19:26:34 +02:00
LordMZTE db43778715 more test
small bug fix in ConfigToml
2020-08-03 16:08:34 +02:00
LordMZTE 614477ef06 add some tests for debugging (tilera, once you code someting pls try to add tests if possible and run "test" before committing) 2020-08-03 15:14:12 +02:00
LordMZTE c99a1f8bdb contributors in modlists will now be colored 2020-08-03 00:03:24 +02:00
LordMZTE fb0ed7b19d enum arguments for CreateModlist.kt are now case insensitive 2020-08-02 21:36:59 +02:00
LordMZTE 3fb1e275c4 added sorting options to CreateModlist.kt 2020-08-02 20:55:44 +02:00
LordMZTE fcfba73056 added the File.unzip function to Util 2020-08-02 18:05:15 +02:00
LordMZTE dc0b248035 FileDownloader.kt now uses a function instead of the constructor for downloading stuff for better performance
replaced ExistingFileBehaviour with boolean
2020-08-02 17:42:27 +02:00
LordMZTE dfe682f41e use argparse4j for args 2020-08-01 19:22:21 +02:00
LordMZTE 8863e703bc add toString to MissingConfigValueException 2020-07-29 23:52:22 +02:00
LordMZTE 789cfa53b7 add and use MissingConfigValueException
minor cleanups
2020-07-29 23:43:34 +02:00
Timo Ley 312cb39459 Merge remote-tracking branch 'origin/master' 2020-07-29 23:20:39 +02:00
Timo Ley c03623dc38 Init is now creating modpack dev environment 2020-07-29 23:20:15 +02:00
LordMZTE dbc0892753 CreateModlist will now accept an "all" option to not only add mods to the list
CreateModlist will now use not only client relations
if no link is specified, there will be no href in the mod list
2020-07-29 22:38:28 +02:00
Timo Ley 93cef01984 Updated Addonscript 2020-07-29 22:15:22 +02:00
LordMZTE 067545aa84 fix race condition from counting down before calling callback in FileDownloader.kt 2020-07-29 22:12:16 +02:00
LordMZTE bcfea8f8f1 Merge remote-tracking branch 'origin/master' 2020-07-29 19:30:17 +02:00
LordMZTE f7df31ceac commands will now be case insensitive
add TODO.txt
2020-07-29 19:29:52 +02:00
Timo Ley fa049cabc4 Updated Addonscript 2020-07-29 15:04:53 +02:00
LordMZTE 4cca46365f add >>> to shell 2020-07-29 14:19:56 +02:00
LordMZTE a212e03e59 fix really stupid mistake when downloading mods in BuildTwitch 2020-07-29 14:14:37 +02:00
LordMZTE 4cfc122dea added shell
config will now always be reloaded to prevent a shell restart being required when config gets generated
modpackjson will also be reloaded
2020-07-29 13:06:25 +02:00
LordMZTE 6571ba6531 mods will now be downloaded for twitch. 2020-07-28 20:53:49 +02:00
LordMZTE 9406ace044 fix zip stuff
remove modpackjson config option with source dir
2020-07-28 19:19:36 +02:00
LordMZTE 07bc8a062a clean up tilera's spaghet 2020-07-28 18:40:47 +02:00
Timo Ley b33db1b469 BuildTwitch.kt can now install files 2020-07-28 17:49:16 +02:00
Timo Ley 3a5a26a9b7 Merge branch 'master' of https://github.com/Anvilcraft/modpacktools
 Conflicts:
	src/main/kotlin/ley/anvil/modpacktools/util/Util.kt
2020-07-28 16:45:41 +02:00
Timo Ley 73ea7a57de Added BuildTwitch.kt (not functional yet) 2020-07-28 16:44:02 +02:00
Timo Ley 63057c0ac4 Added Zip to Util.kt 2020-07-28 16:42:39 +02:00
LordMZTE ecaa9333c7 config is not relative to working dir instead of jar file 2020-07-28 13:55:48 +02:00
LordMZTE 3fa8924c35 command loader will now use kotlin reflection instead of java reflection whenever possible
modlist will use paragraphs for description instead of just line breaks
modlist will not add image to HTML if the dependency has no image
moved help messages for missing config/modpackjson out of CommandLoader.kt and replaced with exceptions
fix formatting and improve CSS for modlist
2020-07-28 13:18:56 +02:00
LordMZTE b3cd41f215 cleanup 2020-07-28 00:02:29 +02:00
LordMZTE b795dc1d79 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/kotlin/ley/anvil/modpacktools/commands/CreateModlist.kt
2020-07-27 23:22:12 +02:00
LordMZTE 1653478a92 improve CustomToml.kt
CreateModlist.kt will now read CSS from resources instead of from string in code
2020-07-27 23:20:34 +02:00
Timo Ley 363468e0f9 Switched from string link to FileOrLink 2020-07-27 23:16:49 +02:00
Timo Ley c4635528cf ASConverter.kt converts an Addonscript to a Curse Manifest and a Map with links/files and installer ids 2020-07-27 23:04:30 +02:00
LordMZTE b9d14f7f1f remove unused ModInfo class and broken AddMod command (to be rewritten) 2020-07-27 14:33:24 +02:00
LordMZTE 2c4b29c959 improve modlist 2020-07-27 14:11:42 +02:00
LordMZTE 05291ab8e8 small fix 2020-07-27 00:24:46 +02:00
Timo Ley afe042be38 Updated Addonscript (reimport of Manifest needed) 2020-07-27 00:10:13 +02:00
LordMZTE 6e2941ef94 fix imports and add comments 2020-07-26 23:53:19 +02:00
LordMZTE 4f1a187c7d port main to KT
added lazy initialization to objects in main (should cause significant performance improvement)
2020-07-26 23:30:46 +02:00
LordMZTE b2d8a7489a port CustomToml to kt 2020-07-26 22:39:53 +02:00
LordMZTE b427ff532b small cleanup 2020-07-26 20:32:02 +02:00