Package Details: fsharp-forge 2.2.0-1

Git Clone URL: (read-only, click to copy)
Package Base: fsharp-forge
Description: F# CLI tool for project, file, and solution management
Upstream URL:
Licenses: custom:UNLICENSE
Submitter: dvdkon
Maintainer: backerman
Last Packager: backerman
Votes: 1
Popularity: 0.000604
First Submitted: 2017-02-23 10:40
Last Updated: 2019-07-02 21:26

Latest Comments

backerman commented on 2019-07-02 21:38

By default, Forge looks for templates in the templates subdirectory of wherever its assemblies are stored (here, /usr/lib/fsharp-forge). That behavior can be overridden by setting the FORGE_TEMPLATE_DIR variable.

Unfortunately, forge refresh doesn't work because the Refresh function in src/Forge.Core/Templates.fs uses exelocation as the working directory when calling git regardless of that environment variable's setting. You can work around this bug by manually doing a git clone:

export FORGE_TEMPLATE_DIR=${HOME}/.local/share/fsharp-forge/templates
git clone -b master --single-branch .

I'll get a patch done in the next day or two, add it to this package, and submit upstream.

backerman commented on 2019-07-02 21:25

Bumping version now - will look at the permissions issue.

omrisim210 commented on 2017-07-21 07:00

Is this causing problems for anyone else? The only way forge can access the files in /usr/lib/forge is if I run 'sudo forge new project' and then all the files that get created are write-protected.