Join GitHub today
be able to specify the console version we want #63
this also adds the feature suggested by @pilhuhn - if the console version is "local" we don't download it from the npm repo but instead we just copy the /build/* files from your locally build swsui project.
By default it assumes swsui is located as a peer directory to the directory that is the root of your swscore GOPATH. So it assumes a file structure:
/some-root-dir-like-swift-sunshine/swsui/build/...the build files here...
If your SWSUI is somewhere that doesn't match that relationship with swscore, then you set CONSOLE_LOCAL_DIR to point to your local git repo for swsui like this:
The only requirement for the value of that local_dir env var is that it has a subdirectory "build" which is where the swsui build files are (i.e.