blob: 4cf1a9026a862827e7564595892a27d0ce780e19 [file] [log] [blame]
Tomek Kurcze93a9012017-09-19 09:16:43 +02001(in-package #:cl-user)
2
3;;;; Licensed under the Apache License, Version 2.0 (the "License");
4;;;; you may not use this file except in compliance with the License.
5;;;; You may obtain a copy of the License at
6;;;;
7;;;; http://www.apache.org/licenses/LICENSE-2.0
8;;;;
9;;;; Unless required by applicable law or agreed to in writing, software
10;;;; distributed under the License is distributed on an "AS IS" BASIS,
11;;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12;;;; See the License for the specific language governing permissions and
13;;;; limitations under the License.
14
15(require "asdf")
Allen George54e95872018-11-30 15:06:44 -050016(load (merge-pathnames "load-locally.lisp" *load-truename*))
Tomek Kurcze93a9012017-09-19 09:16:43 +020017(asdf:load-system :net.didierverna.clon)
18(asdf:load-asd (merge-pathnames "gen-cl/shared/thrift-gen-shared.asd" *load-truename*))
19(asdf:load-asd (merge-pathnames "gen-cl/tutorial/thrift-gen-tutorial.asd" *load-truename*))
20(asdf:load-asd (merge-pathnames "thrift-tutorial.asd" *load-truename*))
21(asdf:load-system :thrift-tutorial)
22
23(net.didierverna.clon:nickname-package)
24
25(defun main ()
26 "Entry point for the binary."
27 (thrift:serve #u"thrift://127.0.0.1:9090" tutorial:calculator))
28
29(clon:dump "TutorialServer" main)