mirror of https://github.com/hrfee/jfa-go
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1002 B
1002 B
Code
I use 4 spaces for indentation. Go should ideally be formatted with goimports
and/or gofmt
. I don't use a formatter on typescript, so don't worry about that.
Compiling
Prefix each of these with make DEBUG=on INTERNAL=off
:
all
will download deps and build everything. The executable and data will be placed inbuild
. This is only necessary the first time.compile
will only compile go code into thebuild/jfa-go
executable.typescript
will compile typescript w/ sourcemaps intobuild/data/web/js
.bundle-css
will bundle CSS and place it inbuild/data/web/css
.configuration
will generate theconfig-base.json
(used to render settings in the web ui) andconfig-default.ini
and put them inbuild/data
.email
will compile email mjml, and copy the text versions in tobuild/data
.copy
will copy iconography, html, language files and static data intobuild/data
.
See the wiki for more info.