Skip to content
Snippets Groups Projects
Verified Commit e2435511 authored by meskio's avatar meskio :tent:
Browse files

[feat] rename bitmask_go to standalone

parent 3a27fa8d
No related branches found
No related tags found
No related merge requests found
.PHONY: all get build build_go icon locales generate_locales clean
.PHONY: all get build standalone icon locales generate_locales clean
TAGS ?= gtk_3_18
all: icon locales get build
get:
go get -tags $(TAGS) . ./bitmask_go
go get -tags $(TAGS) . ./standalone
build:
go build -tags $(TAGS) -ldflags "-X main.version=`git describe --tags`"
......@@ -13,11 +13,11 @@ build:
test:
go test -tags $(TAGS) ./...
build_go:
go build -tags "$(TAGS) bitmask_go" -ldflags "-X main.version=`git describe --tags`"
standalone:
go build -tags "$(TAGS) standalone" -ldflags "-X main.version=`git describe --tags`"
build_win:
go build -tags "bitmask_go" -ldflags "-H windowsgui"
go build -tags "standalone" -ldflags "-H windowsgui"
clean:
make -C icon clean
......
// +build !bitmask_go
// +build !standalone
// Copyright (C) 2018 LEAP
//
// This program is free software: you can redistribute it and/or modify
......
// +build bitmask_go
// +build standalone
// Copyright (C) 2018 LEAP
//
// This program is free software: you can redistribute it and/or modify
......@@ -18,9 +18,9 @@ package main
import (
"0xacab.org/leap/bitmask-systray/bitmask"
bitmask_go "0xacab.org/leap/bitmask-systray/bitmask_go"
standalone "0xacab.org/leap/bitmask-systray/standalone"
)
func initBitmask() (bitmask.Bitmask, error) {
return bitmask_go.Init()
return standalone.Init()
}
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment