This is a tool to build AngularDart projects.
AngularDart project is built by pub
command and webdev
command.
This directory contains webdev
command. Also pub
command is included ../pub/
directory.
- Clone the cloud-builders-community repo:
$ git clone https://github.com/GoogleCloudPlatform/cloud-builders-community
- Go to the directory of pub:
$ cd cloud-builders-community/pub
- Build the Docker image of pub:
$ gcloud builds submit --config cloudbuild.yaml .
- Go to the directory of webdev:
$ cd cloud-builders-community/webdev
- Build the Docker image of webdev:
$ gcloud builds submit --config cloudbuild.yaml .
steps:
- name: "gcr.io/$PROJECT_ID/pub"
args: ["get"]
- name: "gcr.io/$PROJECT_ID/webdev"
args: ["build"]