Skip to content

Commit

Permalink
embed js file
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthakumaran committed Apr 20, 2022
1 parent 9b8f9e7 commit a5dad97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: |
make linux-binary
nix-shell --run 'npm install'
nix-shell --run './node_modules/.bin/esbuild web/src/index.ts --bundle --outfile=web/static/dist.js'
nix-shell --run 'go build'
cp paisa paisa-linux-amd64
- name: Release
uses: softprops/action-gh-release@v1
Expand All @@ -31,6 +33,8 @@ jobs:
- run: |
brew update
brew install --force --overwrite go sqlite3
npm install
./node_modules/.bin/esbuild web/src/index.ts --bundle --outfile=web/static/dist.js
go build
cp paisa paisa-darwin-amd64
- name: Release
Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@ watch:
docs:
cd docs && mdbook serve --open

linux-binary:
nix-shell --run 'go build'

publish:
nix-shell --run 'cd docs && mdbook build'
4 changes: 2 additions & 2 deletions docs/src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ account. Here `Income:Salary` is the debit account and
`Checking` is the credit account. The date at which the
transaction took place and a description of the transaction is written
in the first line followed by the list of credit or debit
entry. Account name could be anything. The `:` in the account name
entry. Account [naming conventions](./accounts.md) are explained later. The `:` in the account name
represents hierarchy. Its use will become more clear when we look at
the reports generated by ledger. The sum of the balance of all the
accounts must be zero.
Expand Down Expand Up @@ -110,7 +110,7 @@ unit.

## Interest

There are many instruments like EPF, FD, etc which pay interest at
There are many instruments like EPF, FD, etc that pay interest at
regular intervals. We can treat it as just another transaction.

```go
Expand Down

0 comments on commit a5dad97

Please sign in to comment.