fix: makefile prepared, gitignore prepped to prevent committing created bin, format in ui

This commit is contained in:
2026-03-29 17:15:40 +00:00
parent 91821f1f9e
commit c54a88c247
6 changed files with 35 additions and 23 deletions
+2 -1
View File
@@ -1 +1,2 @@
.env
.env
Orchestra
+12 -4
View File
@@ -1,9 +1,12 @@
.DEFAULT_GOAL := build-linux
.PHONY: clean-ui
clean-ui:
@rm -r ./cmd/web/ui/node_modules
@rm -r ./cmd/web/ui/dist
.PHONY: remove-node-modules
remove-node-modules:
@rm -r ./cmd/web/ui/node_modules || true
.PHONY: remove-dist
remove-dist:
@rm -r ./cmd/web/ui/dist || true
.PHONY: build-ui
build-ui:
@@ -13,4 +16,9 @@ build-ui:
.PHONY: build-linux
build-linux:
make remove-node-modules
make remove-dist
make build-ui
make remove-node-modules
@GOOS=linux go build -ldflags="-s -w" -o ./Orchestra ./*.go
+15 -12
View File
@@ -1,15 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<title>Solid App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/src/index.tsx" type="module"></script>
</body>
</html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<title>Solid App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/src/index.tsx" type="module"></script>
</body>
</html>
+1 -1
View File
@@ -2824,4 +2824,4 @@
"license": "ISC"
}
}
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "Orchestra",
"name": "orchestra",
"version": "0.0.0",
"description": "",
"type": "module",
+4 -4
View File
@@ -4,7 +4,6 @@
"jsx": "preserve",
"jsxImportSource": "solid-js",
"target": "ESNext",
// Modules
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
@@ -12,9 +11,10 @@
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
// Type Checking & Safety
"strict": true,
"types": ["vite/client"]
"types": [
"vite/client"
]
}
}
}