Skip to content

Commit

Permalink
style: update codexgo to tgo
Browse files Browse the repository at this point in the history
  • Loading branch information
bastean committed Aug 3, 2024
1 parent ff7f371 commit 6eb3ff9
Show file tree
Hide file tree
Showing 167 changed files with 462 additions and 1,364 deletions.
2 changes: 1 addition & 1 deletion .air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ testdata_dir = "testdata"

[build]
pre_cmd = ["make generate-required"]
cmd = "go build -buildvcs=false -o ./tmp/main ./cmd/codexgo"
cmd = "go build -buildvcs=false -o ./tmp/main ./cmd/tgo"
post_cmd = []
bin = "./tmp/main"
full_bin = ""
Expand Down
53 changes: 0 additions & 53 deletions .devcontainer/devcontainer.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ runs:
node-version-file: "package.json"
cache: "npm"

- name: Setup codexGO
- name: Setup tGO
shell: ${{ runner.os == 'Windows' && 'pwsh' || 'bash' }}
run: make init-ci
3 changes: 0 additions & 3 deletions .vscode/extensions.json

This file was deleted.

456 changes: 0 additions & 456 deletions CHANGELOG.md

This file was deleted.

16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#*______URL______

url-server = http://localhost:8080
url-github = https://github.com/bastean/codexgo
url-github = https://github.com/bastean/tgo

#*______Go______

Expand Down Expand Up @@ -207,7 +207,7 @@ release-dry-changelog:

build: lint
rm -rf build/
go build -ldflags="-s -w" -o build/codexgo ./cmd/codexgo
go build -ldflags="-s -w" -o build/tgo ./cmd/tgo

#*______ENV______

Expand Down Expand Up @@ -241,27 +241,27 @@ docker-it:

compose-dev-down:
${compose-env} .env.dev down
${docker-rm-vol} codexgo-database-mongo-dev
${docker-rm-vol} tgo-database-mongo-dev

compose-dev: compose-dev-down
${compose-env} .env.dev up

compose-test-down:
${compose-env} .env.test down
${docker-rm-vol} codexgo-database-mongo-test
${docker-rm-vol} tgo-database-mongo-test

compose-test-integration: compose-test-down
${compose-env} .env.test --env-file .env.test.integration up --exit-code-from codexgo
${compose-env} .env.test --env-file .env.test.integration up --exit-code-from tgo

compose-test-acceptance: compose-test-down
${compose-env} .env.test --env-file .env.test.acceptance up --exit-code-from codexgo
${compose-env} .env.test --env-file .env.test.acceptance up --exit-code-from tgo

compose-tests: compose-test-down
${compose-env} .env.test up --exit-code-from codexgo
${compose-env} .env.test up --exit-code-from tgo

compose-prod-down:
${compose-env} .env.prod down
${docker-rm-img} codexgo
${docker-rm-img} tgo

compose-prod: compose-prod-down
${compose-env} .env.prod up
Expand Down
Loading

0 comments on commit 6eb3ff9

Please sign in to comment.