Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Commit 3c249d5

Browse files
committed
fix: bundling of static assets
1 parent 7c77642 commit 3c249d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: go
22
go:
3-
- "1.10"
3+
- stable
44
cache: yarn
55
services:
66
- docker
@@ -12,7 +12,7 @@ install:
1212
script:
1313
- make
1414
- goveralls -service=travis-ci -ignore="internal/handlers/static.go,internal/handlers/tmpls/tmpls.go"
15-
- make buildDockerImage
15+
- make buildDockerImage
1616
- 'if [[ "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" = "master" ]]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" && docker push mxschmitt/golang_url_shortener && docker push mxschmitt/golang_url_shortener:arm; fi'
1717
deploy:
1818
provider: bintray

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildNodeFrontend:
99
cd web && rm build/static/**/*.map
1010

1111
embedFrontend:
12-
packr2
12+
cd cmd/golang-url-shortener && packr2
1313

1414
getCMDDependencies:
1515
go get -v github.com/mattn/goveralls

0 commit comments

Comments
 (0)