File: use-qmake-in-travis-to-build-gui-free-openscad-binar.patch

package info (click to toggle)
openscad 2015.03-2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 30,804 kB
  • ctags: 5,692
  • sloc: cpp: 39,386; sh: 3,856; ansic: 3,674; python: 1,393; yacc: 496; lex: 272; lisp: 159; makefile: 67; xml: 60
file content (23 lines) | stat: -rw-r--r-- 581 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: chrysn <chrysn@fsfe.org>
Date: Mon, 8 Jun 2015 08:34:36 +0200
Subject: use qmake in travis to build gui-free openscad binary

with OPENSCAD_TESTING gone, the openscad binary (even in a non-gui
version) is easiest made using qmake.
---
 scripts/travis-ci.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/travis-ci.sh b/scripts/travis-ci.sh
index 21e4725..a808a12 100755
--- a/scripts/travis-ci.sh
+++ b/scripts/travis-ci.sh
@@ -1,5 +1,8 @@
 #!/bin/bash
 
+qmake CONFIG+=experimental DEFINES+=OPENSCAD_NOGUI
+make
+
 cd tests
 cmake . 
 if [[ $? != 0 ]]; then