Commit graph

21 commits

Author SHA1 Message Date
Matt Baer
a419bd63fc Fix make deps not fetching sqlite3 lib 2019-01-04 19:40:00 -05:00
Matt Baer
fca3019e4b Support building without SQLite support
This adds a new `sqlite` build tag that you should include only if you
want SQLite3 support built in. Both `make run` and `make release` create
builds with SQLite included.
2019-01-03 17:57:06 -05:00
Matt Baer
739afd2310 Embed schema files in binary
This includes schema.sql and sqlite.sql in the release binary, so they
no longer need to be included in the release archives. This reduces the
number of files extracted, but otherwise leaves all functionality as it
was -- especially the --init-db flag.

Ref T536
2018-12-30 20:10:42 -05:00
Matt Baer
69eab50f42 Create darwin archives with macos in the name
(not "darwin")
2018-12-24 12:56:57 -05:00
Matt Baer
9fb7777c33 Switch to xgo for cross-compilation
Ref T529
2018-12-08 18:27:50 -05:00
Matt Baer
c6d3ef7596 Include SQLite schema in releases
Part of T529
2018-12-02 17:21:18 -05:00
Matt Baer
7bbc1b4b47 Add make release-docker 2018-11-24 14:18:11 -05:00
Matt Baer
402f66770e Move docker build to make build-docker 2018-11-24 14:11:39 -05:00
koehn
695bc79696 extracted docker command a la go and make 2018-11-24 17:57:01 +00:00
koehn
50a6a1ee40 added docker support to make release 2018-11-24 17:49:52 +00:00
Matt Baer
bf5ed00484 Include version in archives made by make release 2018-11-20 18:35:52 -05:00
Matt Baer
1b57ea6f37 Merge branch 'master' of github.com:writeas/writefreely 2018-11-20 16:36:52 -05:00
Marcel van der Boom
b030921691 Don't automatically include "v" from git
- "v" should not be part of the version (softwareVer variable is used
  in other places)
- formatting
2018-11-20 18:14:02 +01:00
Marcel van der Boom
c25d0bef67 Get versioninfo from the git repository
Sets value of softwareVer during build
2018-11-20 14:21:13 +01:00
Matt Baer
87ffafeb54 Remove keys.sh from make release 2018-11-18 22:31:32 -05:00
Matt Baer
64e52ba00d Add make release 2018-11-18 22:29:35 -05:00
Matt Baer
7bc873580c Move key generation to app from keys.sh
This eliminates an external dependency needed for install, and ensures
the app can run on Windows.
2018-11-11 17:52:24 -05:00
Matt Baer
254655d853 Log more when building 2018-11-08 13:02:15 -05:00
Matt Baer
741292668a Get dependencies before building 2018-11-08 12:56:14 -05:00
Matt Baer
6867ac07b4 Update Makefile with new commands, fixes
- Fixes make clean
- Changes make to make ui
- Generates keys on make install
- Adds make run, make build
2018-11-08 12:45:59 -05:00
Matt Baer
0567564905 Add LESS styles, fonts, icons, CSS generation 2018-11-07 22:33:13 -05:00