Skip to content

Commit

Permalink
feat: add linux packages
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCoene committed Sep 8, 2024
1 parent 5f00672 commit 36654d2
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 2 deletions.
65 changes: 65 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,68 @@ changelog:
exclude:
- "^docs:"
- "^test:"

# .goreleaser.yaml
nfpms:
# note that this is an array of nfpm configs
- #
id: vapour

# Name of the package.
#
# Default: ProjectName.
# Templates: allowed.
package_name: vapour

# Your app's vendor.
vendor: Vapour

# Your app's homepage.
#
# Default: inferred from global metadata.
homepage: https://vapour.run

# Your app's maintainer (probably you).
#
# Default: inferred from global metadata.
maintainer: John Coene <[email protected]>

# Your app's description.
#
# Default: inferred from global metadata.
description: |-
Vapour is a typed superset of R.
# Your app's license.
#
# Default: inferred from global metadata.
license: Apache 2.0

# Formats to be generated.
formats:
- apk
- deb
- rpm
- termux.deb
- archlinux

# Umask to be used on files without explicit mode set. (overridable)
#
# Default: 0o002 (will remove world-writable permissions).
umask: 0o002

# Path that the binaries should be installed.
#
# Default: '/usr/bin'.
bindir: /usr/bin

# Version Release.
release: 1

# Section.
section: default

# Makes a meta package - an empty package that contains only supporting
# files and dependencies.
# When set to `true`, the `builds` option is ignored.
meta: true
2 changes: 1 addition & 1 deletion vapour.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type vapour struct {
func New() *vapour {
return &vapour{
name: "vapour",
version: "0.0.1",
version: "0.0.2",
}
}

Expand Down
6 changes: 5 additions & 1 deletion walker/walk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ func multiply(x: int = 2, y: int = 1): int {
apply_math(1, 2, multiply)
apply_math(1, 2, (x: int, y: int) => {
apply_math(1, 2, (x: int, y: int): int => {
return x + y
})
Expand All @@ -829,6 +829,10 @@ apply_math(1, 2, zz)
apply_math(1, 2, (x: int, y: char): int => {
return x + 1
})
func foo(x: int): math {
return zz
}
`

l := lexer.NewTest(code)
Expand Down

0 comments on commit 36654d2

Please sign in to comment.