Skip to content

Commit

Permalink
Makefile cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkauzh committed Oct 10, 2023
1 parent dc1235c commit 3f0646f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 30 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ jobs:
with:
go-version: '1.20'

- name: Test
run: make build_test
- name: Test1
run: GOOS=js GOARCH=wasm go build -o build/main.wasm tests/test1/test1.go

- name: Example
run: make example
28 changes: 0 additions & 28 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,34 +22,6 @@ example:

$(EXAMPLE_BUILD_TOOL) ./example/

build_test:
@echo
@echo " ----------------------------------------------------"
@echo "| Building $(NAME)... |"
@echo " ----------------------------------------------------"
@echo

GOOS=js GOARCH=wasm go build -o build/main.wasm tests/backend/backend.go
GOOS=js GOARCH=wasm go build -o build/main.wasm tests/test1/test1.go

test_backend:
@echo
@echo " ----------------------------------------------------"
@echo "| Building $(NAME)... |"
@echo " ----------------------------------------------------"
@echo

$(EXAMPLE_BUILD_TOOL) ./tests/backend/backend.go

test1:
@echo
@echo " ----------------------------------------------------"
@echo "| Running Test 1... |"
@echo " ----------------------------------------------------"
@echo

$(EXAMPLE_BUILD_TOOL) ./tests/test1/test1.go

release:
@echo
@echo " ----------------------------------------------------"
Expand Down

0 comments on commit 3f0646f

Please sign in to comment.