Commit Graph

34 Commits

Author SHA1 Message Date
Matt Baer e0666baa5d Include ARMv7 build in `make release`
This closes #135
2019-07-08 08:56:25 -04:00
Matt Baer 0b25109a6b Add `make build-arm7`
This makes it easy to build WF for ARMv7, e.g. the Raspberry Pi.

part of #135
2019-07-08 08:55:22 -04:00
Marcel van der Boom f6c129ed20 Construct version from annotated tags only
Fixes issue 125
2019-06-27 21:25:22 +02:00
Matt Baer a10a4e9a28 Merge branch 'develop' into librarization 2019-06-13 20:39:52 -04:00
Matt Baer be0547a62c Include schema.sql when built with wflib tag
This ensures outside application builds will succeed when including the
writefreely pkg.

Ref T613
2019-06-13 20:25:30 -04:00
Sandrockcstm cf139ecd72 go-bindata url updated 2019-05-17 15:57:33 -05:00
Matt Baer 7a07e1009b Include -config and -init-db steps in make install
This also moves development instructions to documentation repo.
2019-04-16 11:27:27 -04:00
Matt Baer 00ed2990eb Do Travis builds without sqlite
Using xgo comes with its own gomod-related issues. So let's see if this
fixes the build issue mentioned in the previous commit.
2019-04-06 11:46:27 -04:00
Matt Baer c7a4955840 Do CI compile with xgo
This will hopefully fix Travis errors:

/home/travis/.gimme/versions/go1.11.7.linux.amd64/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: /tmp/go-link-810454258/000020.o: unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
2019-04-06 11:28:43 -04:00
Matt Baer 45b01c041b Don't install packages in make deps
This fixes an error: undefined: Asset
2019-04-06 10:50:22 -04:00
Matt Baer 8a9ef513fa Fix go-bindata error in Travis build
Based on @sheenobu's work on #58
2019-04-06 10:45:19 -04:00
Matt Baer 21e6c64708 Add make release-linux command 2019-01-10 11:44:30 -05:00
Matt Baer 6da342b0d1 Add make build-no-sqlite
Supports creating a build without SQLite support compiled in.
2019-01-10 11:44:08 -05:00
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