apiVersion: 1.0.0
metadata:
  name: crwctl
projects:
  - name: crwctl
    source:
      type: git
      location: 'git@github.com:redhat-developer/codeready-workspaces-chectl.git'
tools:
  - alias: theia-ide
    type: cheEditor
    id: eclipse/che-theia/1.0.0
  - alias: exec-plugin
    type: chePlugin
    id: eclipse/che-machine-exec-plugin/0.0.1
commands:
  - name: build
    actions:
      - type: exec
        tool: theia-ide
        command: yarn
        workdir: /projects/crwctl
  - name: test
    actions:
      - type: exec
        tool: theia-ide
        command: yarn test
        workdir: /projects/crwctl
