Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
mopo3ilo committed Dec 12, 2022
1 parent 5ed6700 commit 77f0d9c
Show file tree
Hide file tree
Showing 8 changed files with 22,408 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Binaries for programs and plugins
build/
*.exe
*.exe~
*.dll
Expand Down
26 changes: 26 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"group": "build",
"dependsOn": ["build.elf", "build.exe"],
"dependsOrder": "sequence",
"problemMatcher": []
},
{
"label": "build.elf",
"type": "shell",
"group": "build",
"command": "mkdir -p build && GOOS=linux GOARCH=amd64 go build -ldflags=\"-s\" -o ./build/angen . && strip ./build/angen && upx -9 -q ./build/angen"
},
{
"label": "build.exe",
"type": "shell",
"group": "build",
"command": "mkdir -p build && GOOS=windows GOARCH=amd64 go build -ldflags=\"-s\" -o ./build/angen.exe . && strip ./build/angen.exe && upx -9 -q ./build/angen.exe"
}
]
}
Loading

0 comments on commit 77f0d9c

Please sign in to comment.