Skip to content

Commit

Permalink
contract status
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Jul 26, 2024
1 parent db3c75c commit 01f3e3e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Apps/Apps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@ function _resolve(manifest::Manifest, pkgname=nothing)
write_manifest(manifest, app_manifest_file())
end

function _gc()

end

function add(pkg::String)
pkg = PackageSpec(pkg)
add(pkg)
Expand Down Expand Up @@ -205,7 +201,6 @@ end

function status(pkg_or_app::Union{PackageSpec, Nothing}=nothing)
# TODO: Sort.
# TODO: Show julia version
pkg_or_app = pkg_or_app === nothing ? nothing : pkg_or_app.name
manifest = Pkg.Types.read_manifest(joinpath(app_env_folder(), "AppManifest.toml"))
deps = Pkg.Operations.load_manifest_deps(manifest)
Expand All @@ -230,7 +225,8 @@ function status(pkg_or_app::Union{PackageSpec, Nothing}=nothing)
if !is_pkg && pkg_or_app !== nothing && appname !== pkg_or_app
continue
end
printstyled(" $(appname) $(appinfo.julia_command) \n", color=:green)
julia_cmd = contractuser(appinfo.julia_command)
printstyled(" $(appname) $(julia_cmd) \n", color=:green)
end
end
end
Expand Down

0 comments on commit 01f3e3e

Please sign in to comment.