Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 27, 2024
1 parent 820be10 commit 3c7bc49
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
12 changes: 9 additions & 3 deletions ortools/sat/samples/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

load(":code_samples.bzl",
"code_sample_cc_go_py", "code_sample_cc_py",
"code_sample_go", "code_sample_java", "code_sample_py")
load(
":code_samples.bzl",
"code_sample_cc_go_py",
"code_sample_cc_py",
"code_sample_go",
"code_sample_java",
"code_sample_py",
)

code_sample_py(name = "all_different_except_zero_sample_sat")

Expand All @@ -36,6 +41,7 @@ code_sample_py(name = "bool_and_int_var_product_sample_sat")
code_sample_cc_go_py(name = "bool_or_sample_sat")

code_sample_go(name = "boolean_product_sample_sat")

code_sample_py(name = "boolean_product_sample_sat")

code_sample_cc_go_py(name = "channeling_sample_sat")
Expand Down
10 changes: 5 additions & 5 deletions ortools/sat/samples/code_samples.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ def code_sample_go(name):
size = "small",
srcs = [name + ".go"],
deps = [
"//ortools/sat:cp_model_go_proto",
"//ortools/sat:sat_parameters_go_proto",
"//ortools/sat/go/cpmodel",
"@com_github_golang_glog//:glog",
"@org_golang_google_protobuf//proto",
"//ortools/sat:cp_model_go_proto",
"//ortools/sat:sat_parameters_go_proto",
"//ortools/sat/go/cpmodel",
"@com_github_golang_glog//:glog",
"@org_golang_google_protobuf//proto",
],
)

Expand Down

0 comments on commit 3c7bc49

Please sign in to comment.