Skip to content

Commit 49e70c3

Browse files
committed
build(shard.yml): bump to 0.7.0
1 parent 02f8f9a commit 49e70c3

6 files changed

Lines changed: 19 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All changes are documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/).
77

8+
## [0.7.0](https://github.com/PlaceOS/build/compare/v0.6.0...v0.7.0)
9+
10+
## Changed
11+
12+
* Use `PLACEOS_LOCAL_BUILD` instead of `PLACEOS_BUILD_LOCAL_BUILDS` to enable local builds.
13+
14+
## Fixed
15+
16+
* **executable**:
17+
* Correct construction of file glob.
18+
819
## [0.6.0](https://github.com/PlaceOS/build/compare/v0.5.1...v0.6.0)
920

1021
### Added

shard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: placeos-build
2-
version: 0.6.0
2+
version: 0.7.0
33
crystal: ">= 1.0.0"
44
license: MIT
55

src/placeos-build/api/driver.cr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module PlaceOS::Build::Api
2222
digest = param digest : String? = nil, "Digest of the driver"
2323
commit = param commit : String? = nil, "Commit of the driver"
2424
crystal_version = param crystal_version : String? = nil, "Crystal version of the binary"
25+
pp! file, digest, commit, crystal_version
2526

2627
render status_code: :ok, json: builder.binary_store.query(file, digest, commit, crystal_version)
2728
end

src/placeos-build/api/repositories.cr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ module PlaceOS::Build::Api
7474

7575
def self.discover_drivers?(repository_uri, branch, commit, repository_path, username, password)
7676
if (path = repository_path.presence) && Build.support_local_builds?
77+
puts "", "local"
78+
pp! path
7779
Api.builder.local_discover_drivers?(Path[path].expand)
7880
else
7981
Api.builder.discover_drivers?(

src/placeos-build/driver_store/filesystem.cr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ module PlaceOS::Build
2323
crystal_version : SemanticVersion | String? = nil
2424
) : Enumerable(Executable)
2525
glob = File.join(binary_store, Executable.glob(entrypoint, digest, commit, crystal_version))
26+
pp! glob
2627
Dir.glob(glob, follow_symlinks: true)
28+
.tap { |globs| pp! globs }
2729
.reject(&.ends_with?(Executable::INFO_EXT))
2830
.map(&->Executable.new(String))
31+
.tap { |results| pp! results }
2932
end
3033

3134
# Query for metadata for an exact driver executable

src/placeos-build/drivers.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ module PlaceOS::Build
234234
"build",
235235
"--error-trace",
236236
"--no-color",
237-
"--static",
237+
# "--static",
238238
"--threads", self.class.build_threads.to_s,
239239
"-o", executable_name,
240240
executable.entrypoint,

0 commit comments

Comments
 (0)