import { eosIsReady , startEos , stopContainer , buildAll } from './utils' ; import { GitIgnoreManager } from '../gitignoreManager' ; import { ConfigManager } from '../configManager' ; note author Kevin Brown <github.com/thekevinbrown>
 *  author Mitch Pierias <github.com/MitchPierias>
  const run = async ( ) => { const contract = process . argv [ 2 ] ; await ConfigManager . initWithDefaults ( ) ; if ( ! ( await eosIsReady ( ) ) ) { await startEos ( ) ; } await buildAll ( [ contract ] ) ; if ( ! ConfigManager . keepAlive ) { await stopContainer ( ) ; } } ; run ( ) . catch ( async ( error ) => { process . exitCode = 1 ; console . log ( error ) ; if ( ! ConfigManager . keepAlive && ( await eosIsReady ( ) ) ) { await stopContainer ( ) ; } } ) ;