Quellcode durchsuchen

Changed command line argument to support older g++ versions

Fixing-travis-yml
BinHong Lee vor 7 Jahren
Ursprung
Commit
08191e2766
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. +0
    -1
      .travis.yml
  2. +1
    -1
      build.xml
  3. +2
    -1
      install.sh

+ 0
- 1
.travis.yml Datei anzeigen

@@ -1,5 +1,4 @@
sudo: required
g++: 4.8
language: cpp
install: ./install.sh
script: ant test

+ 1
- 1
build.xml Datei anzeigen

@@ -82,7 +82,7 @@
<cc name="g++" outtype="executable" subsystem="console"
outfile="${dist.dir}/main"
objdir="${obj.dir}">
<compilerarg location="start" value="-std=c++11"/>
<compilerarg location="start" value="-std=c++0x"/>
<includepath>
<pathelement path="${includepath}"/>
</includepath>


+ 2
- 1
install.sh Datei anzeigen

@@ -1,4 +1,5 @@
sudo apt-get install libjsonrpccpp-dev libjsonrpccpp-tools
sudo apt-get install libjsonrpccpp-dev libjsonrpccpp-tools libjsoncpp-dev
brew install libjson-rpc-cpp
cp lib/anttasks.jar ~
pushd ~
jar xf anttasks.jar


Laden…
Abbrechen
Speichern