Skip to content

Commit

Permalink
doc: Updating dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
krotik committed May 22, 2021
1 parent acaf16e commit 17b2a08
Show file tree
Hide file tree
Showing 64 changed files with 173 additions and 177 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ vet:
go vet ./...

generate:
go generate devt.de/krotik/ecal/stdlib/generate
go generate github.com/krotik/ecal/stdlib/generate

build: clean mod generate fmt vet
go build -ldflags "-s -w" -o $(NAME) cli/*.go
Expand Down
4 changes: 2 additions & 2 deletions cli/ecal.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"fmt"
"os"

"devt.de/krotik/ecal/cli/tool"
"devt.de/krotik/ecal/config"
"github.com/krotik/ecal/cli/tool"
"github.com/krotik/ecal/config"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions cli/tool/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import (
"sync"
"time"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/common/stringutil"
"devt.de/krotik/ecal/interpreter"
"devt.de/krotik/ecal/util"
"github.com/krotik/common/errorutil"
"github.com/krotik/common/stringutil"
"github.com/krotik/ecal/interpreter"
"github.com/krotik/ecal/util"
)

/*
Expand Down
8 changes: 4 additions & 4 deletions cli/tool/debug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import (
"testing"
"time"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/ecal/interpreter"
"devt.de/krotik/ecal/stdlib"
"devt.de/krotik/ecal/util"
"github.com/krotik/common/errorutil"
"github.com/krotik/ecal/interpreter"
"github.com/krotik/ecal/stdlib"
"github.com/krotik/ecal/util"
)

var testDebugLogOut *bytes.Buffer
Expand Down
2 changes: 1 addition & 1 deletion cli/tool/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"path/filepath"
"strings"

"devt.de/krotik/ecal/parser"
"github.com/krotik/ecal/parser"
)

/*
Expand Down
4 changes: 2 additions & 2 deletions cli/tool/format_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"strings"
"testing"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/common/fileutil"
"github.com/krotik/common/errorutil"
"github.com/krotik/common/fileutil"
)

const formatTestDir = "formattest"
Expand Down
2 changes: 1 addition & 1 deletion cli/tool/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"regexp"
"strings"

"devt.de/krotik/common/stringutil"
"github.com/krotik/common/stringutil"
)

/*
Expand Down
4 changes: 2 additions & 2 deletions cli/tool/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
"strings"
"testing"

"devt.de/krotik/common/stringutil"
"devt.de/krotik/common/termutil"
"github.com/krotik/common/stringutil"
"github.com/krotik/common/termutil"
)

type testConsoleLineTerminal struct {
Expand Down
22 changes: 11 additions & 11 deletions cli/tool/interpret.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ import (
"runtime/pprof"
"strings"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/common/fileutil"
"devt.de/krotik/common/stringutil"
"devt.de/krotik/common/termutil"
"devt.de/krotik/ecal/config"
"devt.de/krotik/ecal/engine"
"devt.de/krotik/ecal/interpreter"
"devt.de/krotik/ecal/parser"
"devt.de/krotik/ecal/scope"
"devt.de/krotik/ecal/stdlib"
"devt.de/krotik/ecal/util"
"github.com/krotik/common/errorutil"
"github.com/krotik/common/fileutil"
"github.com/krotik/common/stringutil"
"github.com/krotik/common/termutil"
"github.com/krotik/ecal/config"
"github.com/krotik/ecal/engine"
"github.com/krotik/ecal/interpreter"
"github.com/krotik/ecal/parser"
"github.com/krotik/ecal/scope"
"github.com/krotik/ecal/stdlib"
"github.com/krotik/ecal/util"
)

/*
Expand Down
14 changes: 7 additions & 7 deletions cli/tool/interpret_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ import (
"strings"
"testing"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/common/fileutil"
"devt.de/krotik/ecal/config"
"devt.de/krotik/ecal/engine"
"devt.de/krotik/ecal/interpreter"
"devt.de/krotik/ecal/stdlib"
"devt.de/krotik/ecal/util"
"github.com/krotik/common/errorutil"
"github.com/krotik/common/fileutil"
"github.com/krotik/ecal/config"
"github.com/krotik/ecal/engine"
"github.com/krotik/ecal/interpreter"
"github.com/krotik/ecal/stdlib"
"github.com/krotik/ecal/util"
)

const testDir = "tooltest"
Expand Down
12 changes: 6 additions & 6 deletions cli/tool/pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ import (
"strings"
"unicode"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/common/fileutil"
"devt.de/krotik/ecal/interpreter"
"devt.de/krotik/ecal/parser"
"devt.de/krotik/ecal/scope"
"devt.de/krotik/ecal/util"
"github.com/krotik/common/errorutil"
"github.com/krotik/common/fileutil"
"github.com/krotik/ecal/interpreter"
"github.com/krotik/ecal/parser"
"github.com/krotik/ecal/scope"
"github.com/krotik/ecal/util"
)

/*
Expand Down
6 changes: 3 additions & 3 deletions cli/tool/pack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"strings"
"testing"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/common/fileutil"
"devt.de/krotik/common/stringutil"
"github.com/krotik/common/errorutil"
"github.com/krotik/common/fileutil"
"github.com/krotik/common/stringutil"
)

const packTestDir = "packtest"
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"fmt"
"strconv"

"devt.de/krotik/common/errorutil"
"github.com/krotik/common/errorutil"
)

// Global variables
Expand Down
8 changes: 4 additions & 4 deletions ecal-support/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The extension adds support for the Event Condition Action Language (ECAL) to VS Code. The extension requires VSCode 1.50 or higher.

<p align="center">
<img height="600px" style="height:600px;" src="https://devt.de/krotik/ecal/raw/master/ecal-support/images/screenshot.png">
<img height="600px" style="height:600px;" src="images/screenshot.png">
</p>

The extension supports the following features:
Expand All @@ -18,13 +18,13 @@ The extension supports the following features:

The extension can be installed using a precompiled VSIX file which can be downloaded from here:

https://devt.de/krotik/ecal/releases
https://github.com/krotik/ecal/releases

Alternatively you can build the extension yourself. To build the extension you need `npm` installed. Download the source code from the [repository](https://devt.de/krotik/ecal). First install all required dependencies with `npm i`. Then compile and package the extension with `npm run compile` and `npm run package`. The folder should now contain a VSIX file.
Alternatively you can build the extension yourself. To build the extension you need `npm` installed. Download the source code from the [repository](https://github.com/krotik/ecal). First install all required dependencies with `npm i`. Then compile and package the extension with `npm run compile` and `npm run package`. The folder should now contain a VSIX file.

## Using the extension

The extension can connect to a running ECAL debug server. The ECAL interpreter which can run the debug server needs to be downloaded separately [here](https://devt.de/krotik/ecal/releases). The debug server has to run first and needs the VSCode project directory as its root directory. An ECAL debug server can be started with the following command line:
The extension can connect to a running ECAL debug server. The ECAL interpreter which can run the debug server needs to be downloaded separately [here](https://github.com/krotik/ecal/releases). The debug server has to run first and needs the VSCode project directory as its root directory. An ECAL debug server can be started with the following command line:
```
ecal debug -server -dir myproj myproj/entry.ecal
```
Expand Down
2 changes: 1 addition & 1 deletion engine/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"strings"
"sync"

"devt.de/krotik/common/stringutil"
"github.com/krotik/common/stringutil"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion engine/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"fmt"
"strings"

"devt.de/krotik/common/stringutil"
"github.com/krotik/common/stringutil"
)

/*
Expand Down
6 changes: 3 additions & 3 deletions engine/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
"fmt"
"sync"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/common/sortutil"
"devt.de/krotik/ecal/engine/pubsub"
"github.com/krotik/common/errorutil"
"github.com/krotik/common/sortutil"
"github.com/krotik/ecal/engine/pubsub"
)

/*
Expand Down
4 changes: 2 additions & 2 deletions engine/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"os"
"sync"

"devt.de/krotik/ecal/engine/pool"
"devt.de/krotik/ecal/engine/pubsub"
"github.com/krotik/ecal/engine/pool"
"github.com/krotik/ecal/engine/pubsub"
)

/*
Expand Down
4 changes: 2 additions & 2 deletions engine/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"testing"
"time"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/ecal/engine/pool"
"github.com/krotik/common/errorutil"
"github.com/krotik/ecal/engine/pool"
)

func TestProcessorSimpleCascade(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions engine/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"strings"
"sync"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/common/sortutil"
"github.com/krotik/common/errorutil"
"github.com/krotik/common/sortutil"
)

/*
Expand Down
10 changes: 5 additions & 5 deletions engine/taskqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import (
"sort"
"sync"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/common/sortutil"
"devt.de/krotik/common/stringutil"
"devt.de/krotik/ecal/engine/pool"
"devt.de/krotik/ecal/engine/pubsub"
"github.com/krotik/common/errorutil"
"github.com/krotik/common/sortutil"
"github.com/krotik/common/stringutil"
"github.com/krotik/ecal/engine/pool"
"github.com/krotik/ecal/engine/pubsub"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion examples/embedding/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module example.com/ecal/embedding

go 1.12

require devt.de/krotik/ecal v1.0.1
require github.com/krotik/ecal v1.6.2
4 changes: 0 additions & 4 deletions examples/embedding/go.sum

This file was deleted.

12 changes: 6 additions & 6 deletions examples/embedding/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"fmt"
"log"

"devt.de/krotik/ecal/engine"
"devt.de/krotik/ecal/interpreter"
"devt.de/krotik/ecal/parser"
"devt.de/krotik/ecal/scope"
"devt.de/krotik/ecal/stdlib"
"devt.de/krotik/ecal/util"
"github.com/krotik/ecal/engine"
"github.com/krotik/ecal/interpreter"
"github.com/krotik/ecal/parser"
"github.com/krotik/ecal/scope"
"github.com/krotik/ecal/stdlib"
"github.com/krotik/ecal/util"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module devt.de/krotik/ecal
module github.com/krotik/ecal

go 1.12

require devt.de/krotik/common v1.4.0
require github.com/krotik/common v1.4.4
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
devt.de/krotik/common v1.4.0 h1:chZihshmuv1yehyujrYyW7Yg4cgRqqIWEG2IAzhfFkA=
devt.de/krotik/common v1.4.0/go.mod h1:X4nsS85DAxyHkwSg/Tc6+XC2zfmGeaVz+37F61+eSaI=
github.com/krotik/common v1.4.4 h1:urplr9BYQWonKaDHbd1uQdbbncva+UchHuOC/BGZIVo=
github.com/krotik/common v1.4.4/go.mod h1:Ti5yTPm8lyOwgllpNNc0bFutiZ3nRu49QbSQCbjEaB0=
12 changes: 6 additions & 6 deletions interpreter/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ import (
"sync"
"time"

"devt.de/krotik/common/datautil"
"devt.de/krotik/common/errorutil"
"devt.de/krotik/ecal/engine/pool"
"devt.de/krotik/ecal/parser"
"devt.de/krotik/ecal/scope"
"devt.de/krotik/ecal/util"
"github.com/krotik/common/datautil"
"github.com/krotik/common/errorutil"
"github.com/krotik/ecal/engine/pool"
"github.com/krotik/ecal/parser"
"github.com/krotik/ecal/scope"
"github.com/krotik/ecal/util"
)

/*
Expand Down
4 changes: 2 additions & 2 deletions interpreter/debug_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"strconv"
"strings"

"devt.de/krotik/ecal/parser"
"devt.de/krotik/ecal/util"
"github.com/krotik/ecal/parser"
"github.com/krotik/ecal/util"
)

/*
Expand Down
6 changes: 3 additions & 3 deletions interpreter/debug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
"testing"
"time"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/ecal/scope"
"devt.de/krotik/ecal/util"
"github.com/krotik/common/errorutil"
"github.com/krotik/ecal/scope"
"github.com/krotik/ecal/util"
)

func TestSimpleDebugging(t *testing.T) {
Expand Down
14 changes: 7 additions & 7 deletions interpreter/func_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ import (
"strings"
"time"

"devt.de/krotik/common/errorutil"
"devt.de/krotik/common/timeutil"
"devt.de/krotik/ecal/engine"
"devt.de/krotik/ecal/parser"
"devt.de/krotik/ecal/scope"
"devt.de/krotik/ecal/stdlib"
"devt.de/krotik/ecal/util"
"github.com/krotik/common/errorutil"
"github.com/krotik/common/timeutil"
"github.com/krotik/ecal/engine"
"github.com/krotik/ecal/parser"
"github.com/krotik/ecal/scope"
"github.com/krotik/ecal/stdlib"
"github.com/krotik/ecal/util"
)

/*
Expand Down
Loading

0 comments on commit 17b2a08

Please sign in to comment.