diff options
-rw-r--r-- | antiquitysort.cabal | 8 | ||||
-rwxr-xr-x | build | 3 | ||||
-rwxr-xr-x | deploy | 6 | ||||
-rw-r--r-- | init.conf | 3 | ||||
-rw-r--r-- | lib/libgmp.a | bin | 0 -> 1311446 bytes | |||
-rw-r--r-- | package.yaml | 6 |
6 files changed, 18 insertions, 8 deletions
diff --git a/antiquitysort.cabal b/antiquitysort.cabal index 7a1bfb9..d55d6fa 100644 --- a/antiquitysort.cabal +++ b/antiquitysort.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.3. +-- This file has been generated from package.yaml by hpack version 0.34.4. -- -- see: https://github.com/sol/hpack @@ -55,7 +55,11 @@ executable antiquitysort-exe Paths_antiquitysort hs-source-dirs: app - ghc-options: -threaded -rtsopts -with-rtsopts=-N + ghc-options: -threaded -rtsopts -with-rtsopts=-N -static -Wall -O2 + cc-options: -static + extra-lib-dirs: + ./lib/ + ld-options: -static -pthread build-depends: aeson , antiquitysort @@ -0,0 +1,3 @@ +set -euo pipefail +stack install +cp ~/.local/bin/antiquitysort-exe dist/ @@ -1,6 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail -stack install -rsync ~/.local/bin/antiquitysort-exe vps:/srv/antiquitysort/staging -rsync antiquitysort.service vps:/srv/antiquitysort/staging -rsync -az static vps:/srv/antiquitysort/staging diff --git a/init.conf b/init.conf new file mode 100644 index 0000000..6e1f351 --- /dev/null +++ b/init.conf @@ -0,0 +1,3 @@ +server { + server_name antiquitysort.cyfraeviolae.org; +} diff --git a/lib/libgmp.a b/lib/libgmp.a Binary files differnew file mode 100644 index 0000000..5886d4a --- /dev/null +++ b/lib/libgmp.a diff --git a/package.yaml b/package.yaml index 74db047..c53f636 100644 --- a/package.yaml +++ b/package.yaml @@ -55,6 +55,12 @@ executables: - -threaded - -rtsopts - -with-rtsopts=-N + - -static + - -Wall + - -O2 + cc-options: -static + ld-options: -static -pthread + extra-lib-dirs: ./lib/ dependencies: - base - antiquitysort |