mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-09-15 23:46:12 +00:00
Fixed chroot bugs and reduced executable size
Stormfetch will now only list CPU and memory information if available Added 'ldflag "-w"' to go build which reduces file size Added 'run' goal to Makefile
This commit is contained in:
@@ -13,7 +13,7 @@ endif
|
||||
|
||||
build:
|
||||
mkdir -p build
|
||||
$(GO) build -o build/stormfetch stormfetch
|
||||
$(GO) build -ldflags "-w" -o build/stormfetch stormfetch
|
||||
|
||||
install: build/stormfetch config/
|
||||
mkdir -p $(DESTDIR)$(BINDIR)
|
||||
@@ -29,5 +29,8 @@ compress: build/stormfetch config/
|
||||
tar --owner=root --group=root -czf stormfetch.tar.gz stormfetch
|
||||
rm -r stormfetch
|
||||
|
||||
run: build/stormfetch
|
||||
build/stormfetch
|
||||
|
||||
clean:
|
||||
rm -r build/
|
||||
Reference in New Issue
Block a user