Browse Source

add drone

Morgan Bazalgette 7 months ago
parent
commit
3397f0366a
Signed by: Morgan Bazalgette <the@howl.moe> GPG Key ID: 40D328300D245DA5
3 changed files with 30 additions and 1 deletions
  1. 10
    0
      .drone.yml
  2. 19
    0
      .editorconfig
  3. 1
    1
      README.md

+ 10
- 0
.drone.yml View File

@@ -0,0 +1,10 @@
1
+workspace:
2
+  base: /go
3
+  path: src/zxq.co/ripple/hanayo
4
+
5
+pipeline:
6
+  build:
7
+    image: golang:1.10
8
+    pull: true
9
+    commands:
10
+      - go build -v .

+ 19
- 0
.editorconfig View File

@@ -0,0 +1,19 @@
1
+# EditorConfig is awesome: http://EditorConfig.org
2
+
3
+# top-most EditorConfig file
4
+root = true
5
+
6
+# Unix-style newlines with a newline ending every file
7
+[*]
8
+end_of_line = lf
9
+insert_final_newline = true
10
+charset = utf-8
11
+
12
+# YML, JSON: 2 spaces
13
+[*.{yaml,yml,json}]
14
+indent_style = space
15
+indent_size = 2
16
+
17
+# Go: 1 tab
18
+[*.go]
19
+indent_style = tab

+ 1
- 1
README.md View File

@@ -1,6 +1,6 @@
1 1
 This repository has a mirror [here](https://github.com/osuripple/hanayo). The original repo is still [here](https://zxq.co/ripple/hanayo).
2 2
 
3
-# Hanayo
3
+# Hanayo ![build status](https://ci.zxq.co/api/badges/ripple/hanayo.svg)
4 4
 
5 5
 Hanayo answers the question: what if you wanted to write in PHP but make it fast?
6 6
 

Loading…
Cancel
Save