initial commit
This commit is contained in:
27
Makefile
Normal file
27
Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
# Makefile for Miasma OS Installer
|
||||
|
||||
.PHONY: build run test clean fmt vet release install
|
||||
|
||||
build:
|
||||
go build -o miasma-installer main.go
|
||||
|
||||
run: build
|
||||
sudo ./miasma-installer
|
||||
|
||||
test:
|
||||
go test ./...
|
||||
|
||||
clean:
|
||||
rm -f miasma-installer
|
||||
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
vet:
|
||||
go vet ./...
|
||||
|
||||
release: clean
|
||||
go build -ldflags="-s -w" -o miasma-installer main.go
|
||||
|
||||
install: build
|
||||
sudo cp miasma-installer /usr/local/bin/
|
||||
Reference in New Issue
Block a user