blob: 8f498996997c8ee043c81ad611c97d95572f50d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module examples.HelloFrege where
import buildclient.config.BuildConfig
import frege.java.Swing
import buildclient.tasks.Executor
main = do
-- gui <- JFrame.new "BuildClient"
-- JFrame.setDefaultCloseOperation gui JFrame.exit_on_close
text <- readFile "src/main/resources/testconfig.bcc"
let (Right x) = parseBuildConfigStr text
bcDownloadSync (File.new "testdest") (BuildConfig.source x)
return ()
|