Commit Graph

23 Commits

Author SHA1 Message Date
Adrien Marquès 50d9bceec7 update 'aicra' command now chdir to first argument (to find the aicra.json conf and to have a valid relative path from its 'root' field) 2018-10-04 12:31:48 +02:00
Adrien Marquès 37efb58b7b aicra compilation optimisation to gain 20% executable size 2018-10-02 12:11:46 +02:00
Adrien Marquès f9a928c181 add 'digest(length)' type checker + minfix import in cmd/main 2018-10-02 11:34:58 +02:00
Adrien Marquès b1092437f9 refactor default type checkers | load default types if set in aicra.json (.build/DEFAULT_TYPES/*.so) 2018-10-02 11:10:21 +02:00
Adrien Marquès 37fe30ebc7 rename 'internal/meta' to 'internal/config' | move driver type definition into explicit file + remove 'import' driver | remove useless method to parse multipart 2018-10-01 17:43:18 +02:00
Adrien Marquès 253a2b0b59 minfix in 'AICRA' command | plugins are now using the Export() method to return Controller/Middleware 2018-10-01 15:27:56 +02:00
Adrien Marquès fd6d7b661e add implementation to 'default types' 2018-10-01 14:02:09 +02:00
Adrien Marquès 17bb63b9de minmod 2018-10-01 12:36:26 +02:00
Adrien Marquès b6e19c255b implement 'AICRA' command | system to parse config, set defaults, infer map of sources from a folder, etc 2018-10-01 12:29:05 +02:00
Adrien Marquès 05d5c23038 fix aicra.files.IsDir() which logic was inverted | make add() private for registries (checker + middleware) + fix server.go (invalid address for Server.controller because wasn't initialized to NIL) 2018-07-11 01:51:10 +02:00
Adrien Marquès d04bafa0eb dispatch cmd/main into files.go 2018-07-09 00:29:25 +02:00
Adrien Marquès 6784c2df95 moved local imports into 'internal' parent package 2018-07-09 00:10:03 +02:00
Adrien Marquès 0ab05816ea fix 2018-07-08 11:44:39 +02:00
Adrien Marquès 6273ded5d7 add elapsed ms to builder 2018-07-08 11:35:45 +02:00
Adrien Marquès 4b9d64bc85 default controller folder is 'controller' and default custom types folder is 'type' 2018-07-08 09:56:13 +02:00
Adrien Marquès 94171ab6a9 remove debug + change 'custom-types' folder for custom types to 'types' 2018-07-07 23:37:12 +02:00
Adrien Marquès 1afe04e13f add scope management 2018-07-07 23:08:01 +02:00
Adrien Marquès 610d08e7cf aicra builds middlewares 2018-07-07 22:16:40 +02:00
Adrien Marquès ee72e2d285 move .build/types to .build/type + update checker accordingly 2018-07-07 18:05:57 +02:00
Adrien Marquès 92e7954dbc add default types 2018-07-07 16:43:47 +02:00
Adrien Marquès 5cc1e091e9 build controller + types is ok 2018-07-07 16:35:20 +02:00
Adrien Marquès d9460952ab add formatting + check which (controllers, types) to compile 2018-07-07 12:58:46 +02:00
Adrien Marquès 06152ab903 created project builder: cli arguments management + file check 2018-07-07 12:41:47 +02:00