mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: add makefile for the smc
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -10,6 +10,6 @@ Stats.app
|
||||
create-dmg
|
||||
dSYMs.zip
|
||||
Stats.dmg.zip
|
||||
smc
|
||||
SMC/smc
|
||||
|
||||
Cartfile.resolved
|
||||
17
SMC/Makefile
Normal file
17
SMC/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
.PHONY: build
|
||||
.SILENT: build
|
||||
|
||||
build:
|
||||
rm -rf ./build
|
||||
|
||||
xcodebuild \
|
||||
-project ../Stats.xcodeproj \
|
||||
-scheme SMC \
|
||||
-destination 'platform=OS X,arch=x86_64' \
|
||||
-configuration Release archive \
|
||||
-archivePath ./build/smc.xcarchive \
|
||||
SKIP_INSTALL=NO
|
||||
|
||||
cp ./build/smc.xcarchive/Products/usr/local/bin/smc ./
|
||||
|
||||
rm -rf ./build
|
||||
Reference in New Issue
Block a user