sam-pc
2f37c666fb
Fix glibc issue
1 month ago
Matt Baer
deec706f14
Use Go 1.21 in `make build-*`
2 months ago
Matt Baer
62f9b2948e
Exclude local static files from release build
1 year ago
Matt Baer
3a7554abe8
Use Go DNS resolution in release binaries
...
This builds with the `netgo` tag, ensuring WF binaries use Go DNS
resolution instead of libc, preventing unhelpful errors when the
application can't resolve addresses.
Closes #675
2 years ago
Abdullah
83765d5cbc
Update Makefile
2 years ago
İlteriş Yağıztegin Eroğlu
77cc1cc816
fix Makefile and Dockerfile to build on latest go versions
...
Signed-off-by: İlteriş Yağıztegin Eroğlu <ilteris.eroglu@trendyol.com>
2 years ago
mathew
6903dd4349
Replace go-bindata with standard go:embed
2 years ago
Matt Baer
73e0b72878
Fix release build
...
This forces xgo to use Go 1.15, to work around a bug with Go modules:
https://github.com/techknowlogick/xgo/issues/109#issuecomment-835494720
This also uses the correct Darwin and Windows binary names to prevent
failures in the `make release` process.
4 years ago
Matt Baer
484d2736ce
Update repo URL to writefreely org
...
From the writeas org on GitHub.
4 years ago
Matt Baer
8a8288d2af
Build ProseMirror library on `make ui`
4 years ago
Matt Baer
599e7669d0
Add CSS cache busting to templates in release
5 years ago
Matti R
98ca449b66
add arm-6
5 years ago
Matti R
f4c6ce76dd
Switch to a maintained fork of XGO
5 years ago
yalh76
36df095dac
Add ARM64 Build
5 years ago
Rob Loranger
6e9000659c
fix typo in Makefile GITREV release target
5 years ago
Rob Loranger
42a2219335
add ui back to target release linux
5 years ago
Rob Loranger
1d80e47e07
change subdirectory to writefreely
...
instead of writefreely_versionstring
5 years ago
Rob Loranger
1301160921
fix tar bombs
...
this changes the release targets in the Makefile to use a subdirectory
of the format BINARYNAME_GITREV so extracting the archive results in a
single directory.
5 years ago
Matt Baer
e0666baa5d
Include ARMv7 build in `make release`
...
This closes #135
5 years ago
Matt Baer
0b25109a6b
Add `make build-arm7`
...
This makes it easy to build WF for ARMv7, e.g. the Raspberry Pi.
part of #135
5 years ago
Marcel van der Boom
f6c129ed20
Construct version from annotated tags only
...
Fixes issue 125
5 years ago
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
6 years ago
Sandrockcstm
cf139ecd72
go-bindata url updated
6 years ago
Matt Baer
7a07e1009b
Include -config and -init-db steps in make install
...
This also moves development instructions to documentation repo.
6 years ago
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.
6 years ago
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
6 years ago
Matt Baer
45b01c041b
Don't install packages in make deps
...
This fixes an error: undefined: Asset
6 years ago
Matt Baer
8a9ef513fa
Fix go-bindata error in Travis build
...
Based on @sheenobu's work on #58
6 years ago
Matt Baer
21e6c64708
Add make release-linux command
6 years ago
Matt Baer
6da342b0d1
Add make build-no-sqlite
...
Supports creating a build without SQLite support compiled in.
6 years ago
Matt Baer
a419bd63fc
Fix make deps not fetching sqlite3 lib
6 years ago
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.
6 years ago
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
6 years ago
Matt Baer
69eab50f42
Create darwin archives with macos in the name
...
(not "darwin")
6 years ago
Matt Baer
9fb7777c33
Switch to xgo for cross-compilation
...
Ref T529
6 years ago
Matt Baer
c6d3ef7596
Include SQLite schema in releases
...
Part of T529
6 years ago
Matt Baer
7bbc1b4b47
Add `make release-docker`
6 years ago
Matt Baer
402f66770e
Move docker build to `make build-docker`
6 years ago
koehn
695bc79696
extracted docker command a la `go` and `make`
6 years ago
koehn
50a6a1ee40
added docker support to `make release`
6 years ago
Matt Baer
bf5ed00484
Include version in archives made by `make release`
6 years ago
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
6 years ago
Marcel van der Boom
c25d0bef67
Get versioninfo from the git repository
...
Sets value of softwareVer during build
6 years ago
Matt Baer
87ffafeb54
Remove keys.sh from make release
6 years ago
Matt Baer
64e52ba00d
Add make release
6 years ago
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.
6 years ago
Matt Baer
254655d853
Log more when building
6 years ago
Matt Baer
741292668a
Get dependencies before building
6 years ago
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
6 years ago
Matt Baer
0567564905
Add LESS styles, fonts, icons, CSS generation
6 years ago