mirror of https://github.com/lapce/lapce.git
Update Makefile
This commit is contained in:
parent
3a079c0895
commit
2e880d23b8
8
Makefile
8
Makefile
|
@ -33,8 +33,8 @@ $(TARGET)-universal:
|
||||||
MACOSX_DEPLOYMENT_TARGET="10.11" cargo build --release --target=aarch64-apple-darwin
|
MACOSX_DEPLOYMENT_TARGET="10.11" cargo build --release --target=aarch64-apple-darwin
|
||||||
@lipo target/{x86_64,aarch64}-apple-darwin/release/$(TARGET) -create -output $(APP_BINARY)
|
@lipo target/{x86_64,aarch64}-apple-darwin/release/$(TARGET) -create -output $(APP_BINARY)
|
||||||
@lipo target/{x86_64,aarch64}-apple-darwin/release/$(TARGET)-proxy -create -output $(APP_BINARY)-proxy
|
@lipo target/{x86_64,aarch64}-apple-darwin/release/$(TARGET)-proxy -create -output $(APP_BINARY)-proxy
|
||||||
/usr/bin/codesign --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_BINARY) -v
|
/usr/bin/codesign --options=runtime --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_BINARY) -v
|
||||||
/usr/bin/codesign --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_BINARY)-proxy -v
|
/usr/bin/codesign --options=runtime --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_BINARY)-proxy -v
|
||||||
|
|
||||||
app: $(APP_NAME)-native ## Create an Alacritty.app
|
app: $(APP_NAME)-native ## Create an Alacritty.app
|
||||||
app-universal: $(APP_NAME)-universal ## Create a universal Alacritty.app
|
app-universal: $(APP_NAME)-universal ## Create a universal Alacritty.app
|
||||||
|
@ -48,7 +48,7 @@ $(APP_NAME)-%: $(TARGET)-%
|
||||||
@echo "Created '$(APP_NAME)' in '$(APP_DIR)'"
|
@echo "Created '$(APP_NAME)' in '$(APP_DIR)'"
|
||||||
xattr -c $(APP_DIR)/$(APP_NAME)/Contents/Info.plist
|
xattr -c $(APP_DIR)/$(APP_NAME)/Contents/Info.plist
|
||||||
xattr -c $(APP_DIR)/$(APP_NAME)/Contents/Resources/lapce.icns
|
xattr -c $(APP_DIR)/$(APP_NAME)/Contents/Resources/lapce.icns
|
||||||
/usr/bin/codesign --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_DIR)/$(APP_NAME) -v
|
/usr/bin/codesign --options=runtime --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(APP_DIR)/$(APP_NAME) -v
|
||||||
|
|
||||||
dmg: $(DMG_NAME)-native ## Create an Alacritty.dmg
|
dmg: $(DMG_NAME)-native ## Create an Alacritty.dmg
|
||||||
dmg-universal: $(DMG_NAME)-universal ## Create a universal Alacritty.dmg
|
dmg-universal: $(DMG_NAME)-universal ## Create a universal Alacritty.dmg
|
||||||
|
@ -61,7 +61,7 @@ $(DMG_NAME)-%: $(APP_NAME)-%
|
||||||
-srcfolder $(APP_DIR) \
|
-srcfolder $(APP_DIR) \
|
||||||
-ov -format UDZO
|
-ov -format UDZO
|
||||||
@echo "Packed '$(APP_NAME)' in '$(APP_DIR)'"
|
@echo "Packed '$(APP_NAME)' in '$(APP_DIR)'"
|
||||||
/usr/bin/codesign --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(DMG_DIR)/$(DMG_NAME) -v
|
/usr/bin/codesign --options=runtime --force -s FAC8FBEA99169DC1980731029648F110628D6A32 $(DMG_DIR)/$(DMG_NAME) -v
|
||||||
|
|
||||||
install: $(INSTALL)-native ## Mount disk image
|
install: $(INSTALL)-native ## Mount disk image
|
||||||
install-universal: $(INSTALL)-native ## Mount universal disk image
|
install-universal: $(INSTALL)-native ## Mount universal disk image
|
||||||
|
|
Loading…
Reference in New Issue