Skip to content

Commit

Permalink
update to new core naming changes made in cogentcore/core#949
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Apr 14, 2024
1 parent f984383 commit 2012c77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
go-version: '1.22'

- name: Install Core
run: go install cogentcore.org/core/core@main
run: go install cogentcore.org/core/cmd/core@main

- name: Build App
run: core build web && cp -a bin/web/* .
Expand Down
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

package main

import "cogentcore.org/core/gi"
import "cogentcore.org/core/core"

Check failure on line 7 in main.go

View workflow job for this annotation

GitHub Actions / build

import "cogentcore.org/core/core" is a program, not an importable package

func main() {
b := gi.NewBody("Cogent Core")
gi.NewLabel(b).SetType(gi.LabelHeadlineLarge).SetText("Cogent Core")
gi.NewLabel(b).SetText("A free and open source software ecosystem for all platforms, built around a powerful, fast, and cogent core framework allowing you to Code Once, Run Everywhere.")
b := core.NewBody("Cogent Core")
core.NewLabel(b).SetType(core.LabelHeadlineLarge).SetText("Cogent Core")
core.NewLabel(b).SetText("A free and open source software ecosystem for all platforms, built around a powerful, fast, and cogent core framework allowing you to Code Once, Run Everywhere.")
b.RunMainWindow()
}

0 comments on commit 2012c77

Please sign in to comment.