Skip to content

Commit 1e89ed9

Browse files
authored
[c_compiler] Rename package to native_toolchain_c (#87)
1 parent ca6788d commit 1e89ed9

File tree

64 files changed

+104
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+104
-98
lines changed

.github/ISSUE_TEMPLATE/c_compiler.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions

.github/labeler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
'type-infra':
44
- .github/**
55

6-
'package:c_compiler':
7-
- pkgs/c_compiler/**/*
8-
96
'package:native_assets_builder':
107
- pkgs/native_assets_builder/**/*
118

129
'package:native_assets_cli':
1310
- pkgs/native_assets_cli/**/*
11+
12+
'package:native_toolchain_c':
13+
- pkgs/native_toolchain_c/**/*

.github/workflows/dart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
os: [ubuntu, macos, windows]
2323
sdk: [stable, dev]
24-
package: [c_compiler, native_assets_builder, native_assets_cli]
24+
package: [native_assets_builder, native_assets_cli, native_toolchain_c]
2525
exclude:
2626
# Only run analyze against dev on one host.
2727
- os: macos

README.md

Lines changed: 3 additions & 3 deletions

pkgs/native_assets_builder/lib/src/utils/run_process.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import 'package:logging/logging.dart';
1313
/// If [logger] is provided, stream stdout and stderr to it.
1414
///
1515
/// If [captureOutput], captures stdout and stderr.
16-
// TODO(dacoharkes): Share between package:c_compiler and here.
16+
// TODO(dacoharkes): Share between package:native_toolchain_c and here.
1717
Future<RunProcessResult> runProcess({
1818
required Uri executable,
1919
List<String> arguments = const [],

pkgs/native_assets_builder/test/build_runner/build_runner_run_in_isolation_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ void main() async {
3131
//
3232
// We could potentially run this test if we default to some compilers
3333
// we find on the path before running the test. However, the logic for
34-
// discovering compilers is currently hidden inside package:c_compiler.
34+
// discovering compilers is currently hidden inside
35+
// package:native_toolchain_c.
3536
return;
3637
}
3738

pkgs/native_assets_builder/test/data/native_add/build.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:c_compiler/c_compiler.dart';
65
import 'package:logging/logging.dart';
76
import 'package:native_assets_cli/native_assets_cli.dart';
7+
import 'package:native_toolchain_c/native_toolchain_c.dart';
88

99
const packageName = 'native_add';
1010

pkgs/native_assets_builder/test/data/native_add/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ environment:
88
sdk: '>=3.0.0 <4.0.0'
99

1010
dependencies:
11-
c_compiler:
12-
path: ../../../../c_compiler/
1311
cli_config: ^0.1.1
1412
logging: ^1.1.1
1513
native_assets_cli: ^0.1.0
14+
native_toolchain_c:
15+
path: ../../../../native_toolchain_c/
1616

1717
dev_dependencies:
1818
ffigen: ^8.0.2

0 commit comments

Comments
 (0)