OSDN Git Service

make original configure
authorSHIRAKATA Kentaro <argrath@ub32.org>
Wed, 8 Apr 2020 21:11:45 +0000 (06:11 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Fri, 17 Apr 2020 16:03:17 +0000 (01:03 +0900)
.travis.yml
configure [new file with mode: 0755]

index 1b30fe1..4caf635 100644 (file)
@@ -19,8 +19,7 @@ addons:
     - gcc@9
 
 before_script:
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh japanese/set_mac.sh ; fi
-  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh japanese/set_lnx.sh ; fi
+   - sh configure
 
 script:
   - make install
diff --git a/configure b/configure
new file mode 100755 (executable)
index 0000000..944c96b
--- /dev/null
+++ b/configure
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+if [ `uname` = "Darwin" ]; then
+    sh japanese/set_mac.sh
+elif [ `uname` = "Linux" ]; then
+    sh japanese/set_lnx.sh
+fi