Skip to content

Commit

Permalink
Refactor package constitution
Browse files Browse the repository at this point in the history
  • Loading branch information
kyokomi committed Jan 30, 2017
1 parent 07cef1c commit bc9a642
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ _testmain.go
# external packages folder
vendor/

alfred-esa-workflow
resources/alfred-esa-workflow
esa.alfredworkflow

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions packager.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"name": "esa"
},
"resources": [
"icon.png",
"alfred-esa-workflow"
"resources/icon.png",
"resources/alfred-esa-workflow"
]
}
Binary file added resources/alfred-esa-workflow
Binary file not shown.
File renamed without changes
File renamed without changes.
6 changes: 3 additions & 3 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ build:
- script:
name: gox
code: |
gox -osarch="darwin/amd64" -output="alfred-esa-workflow"
gox -osarch="darwin/amd64" -output="resources/alfred-esa-workflow" github.com/kyokomi/alfred-esa-workflow/cmd/alfred-esa-workflow
deploy:
box: golang
Expand All @@ -42,15 +42,15 @@ deploy:
- script:
name: gox
code: |
gox -osarch="darwin/amd64" -output="alfred-esa-workflow"
gox -osarch="darwin/amd64" -output="resources/alfred-esa-workflow" github.com/kyokomi/alfred-esa-workflow/cmd/alfred-esa-workflow
- script:
name: install alfreder
code: |
go get github.com/kyokomi/alfreder
- script:
name: packaging alfredworkflow
code: |
alfreder
alfreder -i resources/info.plist
- tcnksm/ghr:
token: $GITHUB_TOKEN
input: esa.alfredworkflow
Expand Down

0 comments on commit bc9a642

Please sign in to comment.