Skip to content

Commit eb18d20

Browse files
committed
[ change ] Revert the change regarding dylib on Mac
1 parent af97a44 commit eb18d20

File tree

3 files changed

+26
-29
lines changed

3 files changed

+26
-29
lines changed

.github/workflows/test-mac.yaml

+21-21
Original file line numberDiff line numberDiff line change
@@ -75,27 +75,27 @@ jobs:
7575
stack install
7676
cp ~/.local/bin/als .
7777
78-
- name: 📦 Some linker shit
79-
id: link
80-
env:
81-
ICU_VER: '69'
82-
ICU_DIR: '/usr/local/opt/icu4c/lib'
83-
run: |
84-
# Change the path to the dynamic library icu4c to the run-time search path:
85-
#
86-
# 1. the same directory of executable, i.e. @executable_path
87-
# 2. @executable_path/../lib
88-
# 3. the default location of system-wide icu4c installed by homebrew, ie. /usr/local/opt/icu4c/lib
89-
#
90-
ls ${ICU_DIR}
91-
mkdir lib
92-
cp ${ICU_DIR}/libicuuc.${ICU_VER}.dylib ${ICU_DIR}/libicui18n.${ICU_VER}.dylib ${ICU_DIR}/libicudata.${ICU_VER}.dylib lib
93-
ls lib
94-
install_name_tool -change ${ICU_DIR}/libicuuc.${ICU_VER}.dylib @rpath/libicuuc.${ICU_VER}.dylib als
95-
install_name_tool -change ${ICU_DIR}/libicui18n.${ICU_VER}.dylib @rpath/libicui18n.${ICU_VER}.dylib als
96-
install_name_tool -add_rpath @executable_path -add_rpath @executable_path/../lib -add_rpath ${ICU_DIR} als
97-
otool -L als
98-
file als
78+
# - name: 📦 Some linker shit
79+
# id: link
80+
# env:
81+
# ICU_VER: '69'
82+
# ICU_DIR: '/usr/local/opt/icu4c/lib'
83+
# run: |
84+
# # Change the path to the dynamic library icu4c to the run-time search path:
85+
# #
86+
# # 1. the same directory of executable, i.e. @executable_path
87+
# # 2. @executable_path/../lib
88+
# # 3. the default location of system-wide icu4c installed by homebrew, ie. /usr/local/opt/icu4c/lib
89+
# #
90+
# ls ${ICU_DIR}
91+
# mkdir lib
92+
# cp ${ICU_DIR}/libicuuc.${ICU_VER}.dylib ${ICU_DIR}/libicui18n.${ICU_VER}.dylib ${ICU_DIR}/libicudata.${ICU_VER}.dylib lib
93+
# ls lib
94+
# install_name_tool -change ${ICU_DIR}/libicuuc.${ICU_VER}.dylib @rpath/libicuuc.${ICU_VER}.dylib als
95+
# install_name_tool -change ${ICU_DIR}/libicui18n.${ICU_VER}.dylib @rpath/libicui18n.${ICU_VER}.dylib als
96+
# install_name_tool -add_rpath @executable_path -add_rpath @executable_path/../lib -add_rpath ${ICU_DIR} als
97+
# otool -L als
98+
# file als
9999

100100
- name: 📦 Zip the executable
101101
id: zip

agda-language-server.cabal

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
cabal-version: 1.12
22

3-
-- This file has been generated from package.yaml by hpack version 0.34.4.
3+
-- This file has been generated from package.yaml by hpack version 0.33.0.
44
--
55
-- see: https://github.com/sol/hpack
66
--
7-
-- hash: 5787defbc506de1670cd403d6ccbe0c621d5b429e489aa76c34a6d46f98dbbd9
7+
-- hash: 7a8436d062f0282114deea0760e6916246b921eb5e16e606b2d3e99adb2582d7
88

99
name: agda-language-server
10-
version: 0.0.1.0
10+
version: 0.1.0.2
1111
synopsis: An implementation of language server protocal (LSP) for Agda 2.
1212
description: Please see the README on GitHub at <https://github.com/banacorn/agda-language-server#readme>
1313
category: Development
@@ -59,10 +59,7 @@ library
5959
Paths_agda_language_server
6060
hs-source-dirs:
6161
src
62-
default-extensions:
63-
PatternSynonyms
64-
LambdaCase
65-
OverloadedStrings
62+
default-extensions: PatternSynonyms LambdaCase OverloadedStrings
6663
ghc-options: -Wincomplete-patterns -Wunused-do-bind -Wunused-foralls -Wwarnings-deprecations -Wwrong-do-bind -Wmissing-fields -Wmissing-methods -Wmissing-pattern-synonym-signatures -Wmissing-signatures
6764
build-depends:
6865
Agda ==2.6.2

package.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: agda-language-server
2-
version: 0.0.1.0
2+
version: 0.1.0.2
33
github: "banacorn/agda-language-server"
44
license: MIT
55
author: "Ting-Gian LUA"

0 commit comments

Comments
 (0)