run

in lib/aws-rails-provisioner/cdk_builder.rb [11:29]


    def run
      _init_cdk
      
      files = @source_files
      files.each do |path, code|
        if File.exists?(path)
          puts "replacing #{path}"
        else
          puts "creating #{path}"
        end
        FileUtils.mkdir_p(File.dirname(path))
        File.open(path, 'w') do |f|
          f.write(code)
        end
      end
      _install_dependencies
      _npm_build
    end