Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Chore: use mage build #68

Closed
wants to merge 4 commits into from
Closed

Chore: use mage build #68

wants to merge 4 commits into from

Conversation

ryantxu
Copy link
Member

@ryantxu ryantxu commented Apr 8, 2020

This replaces the makefile with a magefile, and has the layout match expected system.

@@ -2,15 +2,18 @@ version: 2
jobs:
build:
docker:
- image: circleci/golang:1.13
- image: srclosson/grafana-plugin-ci:latest
Copy link
Member Author

@ryantxu ryantxu Apr 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this image has go and mage all setup. It will soon be published under grafana/grafana-plugin-ci

Comment on lines +15 to +29
if err := sh.RunV("mkdir", "-p", "dist"); err != nil {
return err
}

if err := sh.RunV("cp", "./README.md", "./dist"); err != nil {
return err
}

if err := sh.RunV("cp", "./src/plugin.json", "./dist"); err != nil {
return err
}

if err := sh.RunV("cp", "./src/pipeline.svg", "./dist"); err != nil {
return err
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aknuds1 ... there must be something better than this!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will check.

@aknuds1 aknuds1 self-requested a review April 8, 2020 12:33
@ryantxu ryantxu mentioned this pull request Apr 8, 2020
@ryantxu ryantxu closed this Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants