+user init commands in scaffold-<ProjType>.toml
This commit is contained in:
@@ -40,3 +40,60 @@ scaffold py aPythonProject
|
||||
|
||||
// bin/
|
||||
// `
|
||||
|
||||
// var cfg_content = `# New Go Project configuration file
|
||||
|
||||
// # Format: TOML - see https://toml.io for details
|
||||
|
||||
// # Go specific
|
||||
// # Go module path is of the form basePath/projectName
|
||||
// # must be addressable if you are going to publish
|
||||
// module_basepath = "officallygood.com"
|
||||
|
||||
// # where to put new project directories
|
||||
// # within the user's home directory
|
||||
// projects_basedir = "devel/GoMyApps"
|
||||
// #def_project_name = "new-go-project"
|
||||
|
||||
// # Must be string, will be parsed to correct type
|
||||
// # Remember perms are in octal
|
||||
// project_dir_permissions = "0700"
|
||||
// file_permissions = "0660"
|
||||
|
||||
// # Git
|
||||
// setup_git = true
|
||||
|
||||
// # Do you have a remote location?
|
||||
// # Do you have autologins setup correctly with ssh keys?
|
||||
// # Using your .ssh/config file might be helpful
|
||||
|
||||
// # setup remote repo?
|
||||
// create_remote_repo = false
|
||||
|
||||
// # remote repo user@location
|
||||
// remote_user = "user@server"
|
||||
|
||||
// # remote repo base dir
|
||||
// # relative to remote user home dir
|
||||
// # eg unix/linux server
|
||||
// # for user@server:/home/user/git -- absolute path
|
||||
// user@server:git -- relative to home dir
|
||||
// # eg windows server
|
||||
// # ???
|
||||
|
||||
// ############################
|
||||
// # remote location MUST already exist on remote server
|
||||
// ############################
|
||||
// remote_location = "git"
|
||||
|
||||
// # default remote short name
|
||||
// remote_shortname = "origin"
|
||||
//`
|
||||
|
||||
var cfg_content = `# Scaffold program configuration
|
||||
|
||||
# Format: TOML - see https://toml.io for details
|
||||
|
||||
# Too funny - this config file doesn't seem to be needed ;-)
|
||||
# let's keep it for future use -- very silly
|
||||
testkey = "test value"`
|
||||
|
||||
Reference in New Issue
Block a user