Skip to content

Commit

Permalink
all.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Oct 12, 2021
1 parent aa2c2bb commit 14a0762
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 6 deletions.
3 changes: 3 additions & 0 deletions all.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set -e

go install -tags gomacro -v ./...
5 changes: 0 additions & 5 deletions cmd/igop/internal/lib/default.go

This file was deleted.

24 changes: 24 additions & 0 deletions cmd/igop/internal/lib/default_gomacro.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//go:build gomacro
// +build gomacro

/*
Copyright 2021 The GoPlus Authors (goplus.org)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package lib

import (
_ "github.com/cosmos72/gomacro/imports"
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//go:build gomacro
// +build gomacro

/*
Copyright 2020 The GoPlus Authors (goplus.org)
Copyright 2021 The GoPlus Authors (goplus.org)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
19 changes: 19 additions & 0 deletions igop.go → igop_gomacro.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
//go:build gomacro
// +build gomacro

/*
Copyright 2021 The GoPlus Authors (goplus.org)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package igop

import (
Expand Down

0 comments on commit 14a0762

Please sign in to comment.