Login  Register

Re: 2 questions around gitlab, gitfiletree, BaselineOf

Posted by Pierce Ng-3 on Jul 08, 2017; 4:31pm
URL: https://forum.world.st/2-questions-around-gitlab-gitfiletree-BaselineOf-tp4953877p4954007.html

On Fri, Jul 07, 2017 at 06:48:50AM -0700, Sabine Manaa wrote:

> 1) For loading my own code, I currently have a bad solution
> I would like to load it within my baseline like this below but I dont know
> what to write in the fileTreeRepository method...
>
> baseline: spec
> <baseline>
> spec
> for: #common
> do: [ spec blessing: #baseline.
> spec repository: ##self fileTreeRepository##.
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Here I use 'http://127.0.0.1:20080/', where the http server serves my filetree
repo directory. The easiest way (for me on Linux/Mac) to get the http server
running is 'python3 -m http.server 20080'.

This method works for a directory full of .mcz files too.

Pierce