Skip to content

Commit

Permalink
Merge pull request #72 from create-go-app/dev
Browse files Browse the repository at this point in the history
Preparing PR for v2.0.0
  • Loading branch information
koddr authored May 1, 2021
2 parents 1798fa6 + 2565688 commit 687e9a5
Show file tree
Hide file tree
Showing 48 changed files with 1,427 additions and 1,638 deletions.
28 changes: 14 additions & 14 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
version: 2
updates:
- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: github.com/AlecAivazis/survey/v2
versions:
- 2.2.8
- 2.2.9
- dependency-name: github.com/spf13/cobra
versions:
- 1.1.2
- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: github.com/AlecAivazis/survey/v2
versions:
- 2.2.8
- 2.2.9
- dependency-name: github.com/spf13/cobra
versions:
- 1.1.2
Binary file added .github/images/cgapp_create.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/cgapp_create.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/cgapp_deploy.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/cgapp_deploy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/cgapp_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .github/images/cgapp_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/cgapp_logo.webp
Binary file not shown.
Binary file added .github/images/logo-preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion .github/workflows/testing_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
uses: actions/checkout@v2

- name: Test
run: go test -v -cover -race -timeout 60s ./...
run: go test -v -cover -race -timeout 120s ./...
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ before:

builds:
- # Build macOS, Linux and Windows versions
main: ./cmd/cgapp/main.go
goos:
- linux
- darwin
Expand Down
14 changes: 3 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
# This Dockerfile used ONLY with GoReleaser project (`task release [TAG...]`).
# Please DO NOT use it for build a normal Docker image for Create Go App CLI!
# This Dockerfile used ONLY with GoReleaser project (`task release [TAG...]`).

FROM alpine:3.12
FROM alpine:edge

LABEL maintainer="Vic Shóstak <[email protected]>"
LABEL maintainer="Vic Shóstak <[email protected]>"

# Copy Create Go App CLI binary.
COPY cgapp /cgapp

# Install git, npm (with nodejs).
RUN apk add --no-cache git npm

# Install frontend CLIs (globally and in silent mode).
RUN npm i -g -s --unsafe-perm \
create-react-app \
preact-cli \
@vue/cli \
@angular/cli \
degit

# Set entry point.
ENTRYPOINT ["/cgapp"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ security:
gosec -quiet ./...

install: security lint test
CGO_ENABLED=0 go build -ldflags="-s -w" -o $(GOPATH)/bin/cgapp main.go
CGO_ENABLED=0 go build -ldflags="-s -w" -o $(GOPATH)/bin/cgapp ./cmd/cgapp/main.go

build: security test
goreleaser --snapshot --skip-publish --rm-dist
Expand Down
290 changes: 58 additions & 232 deletions README.md

Large diffs are not rendered by default.

File renamed without changes.
Loading

0 comments on commit 687e9a5

Please sign in to comment.