File tree 2 files changed +26
-3
lines changed
2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ set -e
4
+
5
+ git stash
6
+
7
+ boot production
8
+
9
+ git checkout master
10
+ mv target/index.html ./index.html
11
+ mv target/main.js ./main.js
12
+ mv target/style.css ./style.css
13
+
14
+ echo " sphere.erdos.dev" > ./CNAME
15
+
16
+ git add index.html main.js style.css CNAME
17
+
18
+ git commit --amend -m " release"
19
+
20
+ git push origin master --force
21
+
22
+ git checkout development
23
+
24
+ git stash pop
Original file line number Diff line number Diff line change 20
20
21
21
(defn tokenize-sentence [s]
22
22
(assert (string? s))
23
- (seq ( .split s " " )))
23
+ (doall ( keep not-empty ( .split s " " ) )))
24
24
25
25
(defn parse-style-item [s]
26
26
(assert (sequential? s))
117
117
(concat (:pts mx))))))
118
118
119
119
(defn parse-book [ls]
120
- (let [ls (filter seq (map #(.trim %) (.split ls " \n " )))
121
- xs (keep parse-sentence- ls)
120
+ (let [xs (keep parse-sentence- (keep #(not-empty (.trim %)) (.split ls " \n " )))
122
121
error (some #(when (:error %) %) xs)
123
122
xs (take-while (complement :error ) xs)
124
123
m (zipmap (map :id xs) xs)]
You can’t perform that action at this time.
0 commit comments