1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 07:57:12 -07:00

Instructions for multi build file algorithm.

This commit is contained in:
Cedric Beust 2017-03-28 19:13:12 -07:00
parent 350b471460
commit 2c7241f195

View file

@ -0,0 +1,14 @@
package com.beust.kobalt.app
class BuildFiles {
// Parse all the files found in kobalt/src/*kt, extract their buildScriptInfo blocks,
// save the location where they appear (file, start/end).
// Compile each of these buildScriptInfo separately, note which new build files they add
// and at which location
// Go back over all the files from kobalt/src/*kt, insert each new build file in it,
// save it as a modified, concatenated build file
// Create buildScript.jar out of compiling all these modified build files
}