This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const util = require("util"); | |
const exec = util.promisify(require("child_process").exec); | |
function getImageId(str) { | |
return str.match(/^(Successfully built)\s(.*)$/gm)[0].replace('Successfully built ', '') | |
} | |
function getContainerId(str) { | |
return (/^([^\s]*).*group17$/gm).exec(str)[1]; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open Webapi.Dom; | |
open Element; | |
type state = { | |
mapRef: ref(option(Dom.element)), | |
sourceRef: ref(option(Dom.element)), | |
containerRef: ref(option(Dom.element)), | |
init: bool | |
}; |
NewerOlder