gochan-org / gochan

Missing module/function docstring PY-D0003
Documentation
Minor
a month agoa year old
Docstring missing for test
443		print("Failed running sass with status", status)
444		sys.exit(status)
445
446def test(verbose = False, coverage = False):447	pkgs = os.listdir("pkg")
448	for pkg in pkgs:
449		cmd = ["go", "test"]
Docstring missing for sass
436	shutil.make_archive(release_dir, archive_type, root_dir="releases", base_dir=release_name)
437
438
439def sass(watch=False):440	npm_cmd = ["npm", "--prefix", "frontend/", "run", "watch-sass" if watch else "build-sass"]
441	status = run_cmd(npm_cmd, True, True, True)[1]
442	if status != 0:
Docstring missing for release
411		sys.exit(status)
412
413
414def release(goos):415	set_vars(goos)
416	build(False)
417	release_name = gochan_bin + "-v" + GOCHAN_VERSION + "_" + gcos_name
Docstring missing for eslint
399		sys.exit(status)
400
401
402def eslint(fix=False):403	print("Running eslint")
404	npm_cmd = ["npm", "--prefix", "frontend/", "run", "eslint"]
405	if fix:
Docstring missing for js
387	print("")
388
389
390def js(watch=False):391	print("Transpiling JS")
392	mkdir("html/js/")
393	delete("html/js/gochan.js")