[cantarell-fonts/use-meson-rewrite] Use meson rewrite command




commit 49c2cc784369ec57a5d909fd8ff4ec8b2a591812
Author: Nikolaus Waxweiler <madigens gmail com>
Date:   Fri Aug 27 21:07:49 2021 +0100

    Use meson rewrite command

 .gitlab-ci.yml              |  4 ++--
 meson.build                 |  2 +-
 scripts/flip-prebuilt-on.py | 18 ------------------
 3 files changed, 3 insertions(+), 21 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3cb30d5e..77a5d8a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,8 +10,8 @@ build-default:
     - ninja -C build install
 
     # Make a dist package with prebuilt binaries.
-    - python3 scripts/flip-prebuilt-on.py meson_options.txt
-    - git add meson_options.txt
+    - meson rewrite default-options set useprebuilt true
+    - git add meson.build
     - cp /usr/local/share/fonts/cantarell/*.otf prebuilt
     - git add prebuilt/*.otf
     - git config --global user.email "you example com"
diff --git a/meson.build b/meson.build
index 4c142041..d22f3f43 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('cantarell-fonts', version : '0.301')
+project('cantarell-fonts', version : '0.301', default_options : 'useprebuilt=True')
 
 datadir = join_paths(get_option('prefix'), get_option('datadir'))
 appdatadir = join_paths(datadir, 'metainfo')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]