Matt Baer
e0666baa5d
Include ARMv7 build in `make release`
This closes #135
4 år sedan
Matt Baer
0b25109a6b
Add `make build-arm7`
This makes it easy to build WF for ARMv7, e.g. the Raspberry Pi.
part of #135
4 år sedan
Marcel van der Boom
f6c129ed20
Construct version from annotated tags only
Fixes issue 125
4 år sedan
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
5 år sedan
Sandrockcstm
cf139ecd72
go-bindata url updated
5 år sedan
Matt Baer
7a07e1009b
Include -config and -init-db steps in make install
This also moves development instructions to documentation repo.
5 år sedan
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.
5 år sedan
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
5 år sedan
Matt Baer
45b01c041b
Don't install packages in make deps
This fixes an error: undefined: Asset
5 år sedan
Matt Baer
8a9ef513fa
Fix go-bindata error in Travis build
Based on @sheenobu's work on #58
5 år sedan
Matt Baer
21e6c64708
Add make release-linux command
5 år sedan
Matt Baer
6da342b0d1
Add make build-no-sqlite
Supports creating a build without SQLite support compiled in.
5 år sedan
Matt Baer
a419bd63fc
Fix make deps not fetching sqlite3 lib
5 år sedan
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.
5 år sedan
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
5 år sedan
Matt Baer
69eab50f42
Create darwin archives with macos in the name
(not "darwin")
5 år sedan
Matt Baer
9fb7777c33
Switch to xgo for cross-compilation
Ref T529
5 år sedan
Matt Baer
c6d3ef7596
Include SQLite schema in releases
Part of T529
5 år sedan
Matt Baer
7bbc1b4b47
Add `make release-docker`
5 år sedan
Matt Baer
402f66770e
Move docker build to `make build-docker`
5 år sedan
koehn
695bc79696
extracted docker command a la `go` and `make`
5 år sedan
koehn
50a6a1ee40
added docker support to `make release`
5 år sedan
Matt Baer
bf5ed00484
Include version in archives made by `make release`
5 år sedan
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
5 år sedan
Marcel van der Boom
c25d0bef67
Get versioninfo from the git repository
Sets value of softwareVer during build
5 år sedan
Matt Baer
87ffafeb54
Remove keys.sh from make release
5 år sedan
Matt Baer
64e52ba00d
Add make release
5 år sedan
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.
5 år sedan
Matt Baer
254655d853
Log more when building
5 år sedan
Matt Baer
741292668a
Get dependencies before building
5 år sedan
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
5 år sedan
Matt Baer
0567564905
Add LESS styles, fonts, icons, CSS generation
5 år sedan